diff --git a/autoload/neosnippet/snippets/vim.snip b/autoload/neosnippet/snippets/vim.snip index 87a1b07..035d02b 100644 --- a/autoload/neosnippet/snippets/vim.snip +++ b/autoload/neosnippet/snippets/vim.snip @@ -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