Commits

Ross Light committed 373186d

Add current syntax guard

Comments (0)

Files changed (1)

syntax/creole.vim

 " Maintainer:   Ross Light <ross@zombiezen.com>
 " Last Change:  2011-05-11
 
+if exists("b:current_syntax")
+    finish
+endif
+
 syn match creoleUrl     "\(http\|https\|ftp\)://\([a-zA-Z0-9-_~%*@&=+$/#\[\]]\|[(,.?!:;"')]\(\s\|$\)\@!\)*"
 syn region creoleEscape matchgroup=creoleKeyword start=+\~+ end=+\s+ end=+$+