Fix embedded VimL highlighting

The b:current_syntax variable is set by syntax-include, so it needs to
be unset again or the second syntax-include does nothing.
This commit is contained in:
Kevin Ballard 2014-06-29 19:42:11 -07:00
parent 1ad7d54d75
commit cab1509952

View File

@ -6,7 +6,9 @@ if exists("b:current_syntax")
endif
syntax include @Python syntax/python.vim
unlet b:current_syntax
syntax include @Viml syntax/vim.vim
unlet b:current_syntax
" global matches
syn match snipComment "^#.*" contains=snipTODO