Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed a couple typos and disable the old snippet commands

  • Loading branch information...
commit 40c44b5c640af81740d3625b41f60c9b95a30387 1 parent 4e06ee1
@msanders msanders authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 plugin/snipMate.vim
View
9 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('<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
Please sign in to comment.
Something went wrong with that request. Please try again.