mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 06:52:26 +00:00
add js snippets
This commit is contained in:
10
snippets/js2-mode/while.yasnippet
Normal file
10
snippets/js2-mode/while.yasnippet
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: while
|
||||
# key: while
|
||||
# --
|
||||
|
||||
var i = $1.length;
|
||||
|
||||
while( i -- ){
|
||||
$0
|
||||
}
|
||||
Reference in New Issue
Block a user