Improved vim snip -- adding augroup snippet.
This commit is contained in:
parent
496ef77c79
commit
50b9a3a059
@ -65,3 +65,11 @@ prev_word '^'
|
||||
function! ${1:func_name}(arglead, cmdline, cursorpos)
|
||||
return filter(${2:list}, 'stridx(v:val, a:arglead) == 0')
|
||||
endfunction
|
||||
|
||||
snippet augroup
|
||||
abbr augroup with autocmds
|
||||
prev_word '^'
|
||||
augroup ${1}
|
||||
autocmd!
|
||||
autocmd ${2:event}
|
||||
augroup END
|
||||
|
@ -404,6 +404,9 @@ snippet *neosnippet-unite-action-snippet*
|
||||
==============================================================================
|
||||
CHANGELOG *neosnippet-changelog*
|
||||
|
||||
2012-10-07
|
||||
- Improved vim snip.
|
||||
|
||||
2012-10-06
|
||||
- Improved indent snippet behavior.
|
||||
- Fixed substitute marker.
|
||||
|
Loading…
Reference in New Issue
Block a user