added support for buffer-only snippets

This commit is contained in:
Michael Sanders committed 2009-03-15 18:52:29 -04:00
1 parent 150a65594b
commit 5527548d63
3 files changed
+42 -37

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ let snippet_filetype = 'vim'
" snippets for making snippets :)
exe 'Snipp snip exe "Snipp ${1:trigger}"${2}'
exe "Snipp snipp exe 'Snipp ${1:trigger}'${2}"
exe 'Snipp bsnip exe "BufferSnip ${1:trigger}"${2}'
exe "Snipp bsnipp exe 'BufferSnip ${1:trigger}'${2}"
exe 'Snipp gsnip exe "GlobalSnip ${1:trigger}"${2}'
exe "Snipp gsnipp exe 'GlobalSnip ${1:trigger}'${2}"
exe "Snipp guard if !exists('g:loaded_snips') || exists('s:did_".