diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
commit | 9931e0888b2419326ae10ebbfae532261c5c125f (patch) | |
tree | 7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/vim-snippets/snippets/ls.snippets | |
parent | e573b3020c032400eed60b649a2cbf55266e6bb0 (diff) | |
download | myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2 myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip |
Fix submodules
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/ls.snippets')
m--------- | vim/bundle/vim-snippets | 0 | ||||
-rw-r--r-- | vim/bundle/vim-snippets/snippets/ls.snippets | 108 |
2 files changed, 0 insertions, 108 deletions
diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 +Subproject 15d7e5ec26ec93adee4051b6359be90a943aa38 diff --git a/vim/bundle/vim-snippets/snippets/ls.snippets b/vim/bundle/vim-snippets/snippets/ls.snippets deleted file mode 100644 index 909b35e..0000000 --- a/vim/bundle/vim-snippets/snippets/ls.snippets +++ /dev/null @@ -1,108 +0,0 @@ -# Closure loop -snippet forinlet - for ${1:name} in ${2:array} - let $1 - ${3} -# Array comprehension -snippet fora - for ${1:name} in ${2:array} - ${3} -# Object comprehension -snippet foro - for ${1:key}, ${2:value} of ${3:object} - ${4} -# Range comprehension (inclusive) -snippet forr - for ${1:name} from ${2:start} to ${3:finish} - ${4} -snippet forrb - for ${1:name} from ${2:start} to ${3:finish} by ${4:step} - ${5} -# Range comprehension (exclusive) -snippet forrex - for ${1:name} from ${2:start} til ${3:finish} - ${4} -snippet forrexb - for ${1:name} from ${2:start} til ${3:finish} by ${4:step} - ${5} -# Function -snippet fun - (${1:args}) -> - ${2} -# Function (bound) -snippet bfun - (${1:args}) ~> - ${2} -# Class -snippet cla class .. - class ${1:`substitute(Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} - ${2} -snippet cla class .. constructor: .. - class ${1:`substitute(Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} - (${2:args}) -> - ${3} - - ${4} -snippet cla class .. extends .. - class ${1:`substitute(Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} extends ${2:ParentClass} - ${3} -snippet cla class .. extends .. constructor: .. - class ${1:`substitute(Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} extends ${2:ParentClass} - (${3:args}) -> - ${4} - - ${5} -# If -snippet if - if ${1:condition} - ${2} -# If __ Else -snippet ife - if ${1:condition} - ${2} - else - ${3} -# Else if -snippet elif - else if ${1:condition} - ${2} -# Ternary If -snippet ifte - if ${1:condition} then ${2:value} else ${3:other} -# Unless -snippet unl - ${1:action} unless ${2:condition} -# Switch -snippet swi - switch ${1:object} - case ${2:value} - ${3} - default void -snippet mat - match ${1:object} - | ${2:value} => ${3} - | otherwise => void - -# Log -snippet log - console.log ${1} -# stringify -snippet str - JSON.stringify ${1}, void, 2 - -# Try __ Catch -snippet try - try - ${1} - catch ${2:error} - ${3} -# Require -snippet req - ${2:$1} = require '${1}'${3} -# Require! -snippet req! - require! ${1} - -# Export -snippet exp - ${1:root} = exports ? this |