diff options
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/lua.snippets')
m--------- | vim/bundle/vim-snippets | 0 | ||||
-rw-r--r-- | vim/bundle/vim-snippets/snippets/lua.snippets | 21 |
2 files changed, 0 insertions, 21 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/lua.snippets b/vim/bundle/vim-snippets/snippets/lua.snippets deleted file mode 100644 index b7de2de..0000000 --- a/vim/bundle/vim-snippets/snippets/lua.snippets +++ /dev/null @@ -1,21 +0,0 @@ -snippet #! - #!/usr/bin/env lua - $1 -snippet local - local ${1:x} = ${0:1} -snippet fun - function ${1:fname}(${2:...}) - ${0:-- body} - end -snippet for - for ${1:i}=${2:1},${3:10} do - ${0:print(i)} - end -snippet forp - for ${1:i},${2:v} in pairs(${3:table_name}) do - ${0:-- body} - end -snippet fori - for ${1:i},${2:v} in ipairs(${3:table_name}) do - ${0:-- body} - end |