From 40c44b5c640af81740d3625b41f60c9b95a30387 Mon Sep 17 00:00:00 2001 From: Michael Sanders Date: Thu, 26 Mar 2009 13:24:06 -0400 Subject: [PATCH] fixed a couple typos and disable the old snippet commands --- plugin/snipMate.vim | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugin/snipMate.vim b/plugin/snipMate.vim index c6f6b8c..418343a 100644 --- a/plugin/snipMate.vim +++ b/plugin/snipMate.vim @@ -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('').'.c' -au FileType xhtml let &ft = expand('').'.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 == "" let g:SuperTabKey = "\" elseif g:SuperTabMappingBackward == "" - let g:SuperTabKey = '\' + let g:SuperTabKey = "\" endif endif