mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
re-design snippets hierarchy
This commit is contained in:
3
snippets/text-mode/python-mode/__
Normal file
3
snippets/text-mode/python-mode/__
Normal file
@@ -0,0 +1,3 @@
|
||||
#name : __...__
|
||||
# --
|
||||
__${init}__
|
||||
4
snippets/text-mode/python-mode/for
Normal file
4
snippets/text-mode/python-mode/for
Normal file
@@ -0,0 +1,4 @@
|
||||
#name : for ... in ... : ...
|
||||
# --
|
||||
for ${var} in ${collection}:
|
||||
$0
|
||||
4
snippets/text-mode/python-mode/ifmain
Normal file
4
snippets/text-mode/python-mode/ifmain
Normal file
@@ -0,0 +1,4 @@
|
||||
#name : if __name__ == '__main__': ...
|
||||
# --
|
||||
if __name__ == '__main__':
|
||||
$0
|
||||
4
snippets/text-mode/python-mode/while
Normal file
4
snippets/text-mode/python-mode/while
Normal file
@@ -0,0 +1,4 @@
|
||||
#name : while ... : ...
|
||||
# --
|
||||
while ${condition}:
|
||||
$0
|
||||
Reference in New Issue
Block a user