- Added bundle_hooks snippet.

This commit is contained in:
Shougo Matsushita 2013-10-17 13:02:15 +09:00
parent 4ee658007c
commit e86bb3799f
1 changed files with 8 additions and 0 deletions

View File

@ -110,6 +110,14 @@ abbr NeoBundleLazy ''
\ ${0}
\ }}
snippet bundle_hooks
abbr neobundle hooks
let s:hooks = neobundle#get_hooks('${1}')
function! s:hooks.on_source(bundle)
${0}
endfunction
unlet s:bundle
snippet autoload
abbr autoload func endfunc
alias afunction afunc