mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
more snippets
This commit is contained in:
parent
36ae1d01f9
commit
7ce0ff810b
3
snippets/css-mode/border
Normal file
3
snippets/css-mode/border
Normal file
@ -0,0 +1,3 @@
|
||||
#name : border size style color
|
||||
# --
|
||||
border: ${1:1px} ${2:solid} #${3:999};
|
4
snippets/python-mode/for
Normal file
4
snippets/python-mode/for
Normal file
@ -0,0 +1,4 @@
|
||||
#name : for ... in ... : ...
|
||||
# --
|
||||
for ${var} in ${collection}:
|
||||
$0
|
4
snippets/python-mode/ifmain
Normal file
4
snippets/python-mode/ifmain
Normal file
@ -0,0 +1,4 @@
|
||||
#name : if __name__ == '__main__': ...
|
||||
# --
|
||||
if __name__ == '__main__':
|
||||
$0
|
4
snippets/python-mode/while
Normal file
4
snippets/python-mode/while
Normal file
@ -0,0 +1,4 @@
|
||||
#name : while ... : ...
|
||||
# --
|
||||
while ${condition}:
|
||||
$0
|
Loading…
x
Reference in New Issue
Block a user