Permalink
Browse files

add global variable to enable/disable highlight

  • Loading branch information...
chrisyip committed Nov 10, 2012
1 parent 5395383 commit 54073e5e9437ce8bf9b999f7da1b27fe05bf50c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax/css.vim
View
@@ -7,7 +7,7 @@
" Full CSS2, most of HTML5 & CSS3 properties (include prefix like -moz-) supported
" Quit when a syntax file was already loaded
-if exists("b:current_syntax")
+if exists("g:BetterCSSSyntaxforVim")
finish
endif
@@ -239,5 +239,5 @@ HLink cssURL String
delcommand HLink
-let b:current_syntax = "css"
+let g:BetterCSSSyntaxforVim = "1"
syn sync minlines=10

0 comments on commit 54073e5

Please sign in to comment.