Skip to content

Commit

Permalink
Merge pull request scrooloose#25 from juanpabloaj/notFold
Browse files Browse the repository at this point in the history
vim snippet : try/catch added
  • Loading branch information
honza committed Aug 30, 2011
2 parents 0c062c9 + c9ddf17 commit 586a096
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions snippets/vim.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 586a096

Please sign in to comment.