vim snippet : try
This commit is contained in:
parent
0c062c9ff8
commit
c9ddf17afd
@ -12,6 +12,12 @@ snippet f
|
||||
fun! ${1:`expand('%') =~ 'autoload' ? substitute(matchstr(expand('%:p'),'autoload/\zs.*\ze.vim'),'[/\\]','#','g').'#' : ''`}${2:function_name}(${3})
|
||||
${4:" code}
|
||||
endf
|
||||
snippet t
|
||||
try
|
||||
${1}
|
||||
catch ${2}
|
||||
${3}
|
||||
endtry
|
||||
snippet for
|
||||
for ${1:needle} in ${2:haystack}
|
||||
${3:" code}
|
||||
|
Loading…
Reference in New Issue
Block a user