fix broken python snippet
This commit is contained in:
parent
4795261b94
commit
eac48f5190
2 changed files with 4 additions and 4 deletions
|
|
@ -169,7 +169,7 @@ var SnippetManager = function() {
|
|||
// defult but can't fill :(
|
||||
case "FILENAME":
|
||||
case "FILEPATH":
|
||||
return "ace.ajax.org";
|
||||
return "";
|
||||
case "FULLNAME":
|
||||
return "Ace";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ snippet from
|
|||
# Module Docstring
|
||||
snippet docs
|
||||
'''
|
||||
File: ${1:`Filename('$1.py', 'foo.py')`}
|
||||
Author: ${2:`g:snips_author`}
|
||||
File: ${1:FILENAME:file_name}
|
||||
Author: ${2:author}
|
||||
Description: ${3}
|
||||
'''
|
||||
snippet wh
|
||||
|
|
@ -129,7 +129,7 @@ snippet "
|
|||
"""
|
||||
# test function/method
|
||||
snippet test
|
||||
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
|
||||
def test_${1:description}(${2:self}):
|
||||
${3:# TODO: write code...}
|
||||
# test case
|
||||
snippet testcase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue