1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-27 17:02:36 +01:00

fixed a typo in vim snippets

This commit is contained in:
Michael Sanders
2009-03-14 21:24:27 -04:00
parent 713699c58a
commit 3a64f6a024

View File

@@ -11,7 +11,7 @@ exe 'Snipp gsnip exe "GlobalSnip ${1:trigger}"${2}'
exe "Snipp gsnipp exe 'GlobalSnip ${1:trigger}'${2}"
exe "Snipp guard if !exists('g:loaded_snips') || exists('s:did_".
\ "${1:`substitute(expand(\"%:t:r\"), \"_snips\", \"\", \"\")`}_snips')\n\t"
\ "finish\nendif\nlet s:did_$1_snips = 1\nlet snippet_file = '$1'${2}"
\ "finish\nendif\nlet s:did_$1_snips = 1\nlet snippet_filetype = '$1'${2}"
exe "Snipp f fun ${1:function_name}()\n\t${2:\" code}\nendfun"
exe "Snipp for for ${1:needle} in ${2:haystack}\n\t${3:\" code}\nendfor"