1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2026-01-05 05:14:21 +01:00

fixed a couple typos and disable the old snippet commands

This commit is contained in:
Michael Sanders
2009-03-26 13:24:06 -04:00
parent 4e06ee1aa4
commit 40c44b5c64

View File

@@ -16,15 +16,10 @@ let loaded_snips = 1
if !exists('snips_author') | let snips_author = 'Me' | endif
au FileType objc,cpp,cs let &ft = expand('<amatch>').'.c'
au FileType xhtml let &ft = expand('<amatch>').'.html'
au FileType xhtml let &ft = 'xhtml.html'
au BufRead,BufNewFile *.snippets\= set ft=snippet
au FileType snippet setl noet fdm=indent
" These are just here to avoid errors, for now
com! -nargs=+ -bang Snipp
com! -nargs=+ -bang GlobalSnip
com! -nargs=+ -bang BufferSnip
let s:snippets = {} | let s:multi_snips = {}
if !exists('snippets_dir')
@@ -122,7 +117,7 @@ fun! TriggerSnippet()
if g:SuperTabMappingForward == "<tab>"
let g:SuperTabKey = "\<c-n>"
elseif g:SuperTabMappingBackward == "<tab>"
let g:SuperTabKey = '\<c-p>'
let g:SuperTabKey = "\<c-p>"
endif
endif