SOURCES: spec.vim - '#' in %if* is not a comment

sparky sparky at pld-linux.org
Sat Nov 5 13:46:44 CET 2005


Author: sparky                       Date: Sat Nov  5 12:46:44 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- '#' in %if* is not a comment

---- Files affected:
SOURCES:
   spec.vim (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.34 SOURCES/spec.vim:1.35
--- SOURCES/spec.vim:1.34	Wed Nov  2 19:47:45 2005
+++ SOURCES/spec.vim	Sat Nov  5 13:46:39 2005
@@ -172,7 +172,7 @@
 syn match shOperator contained '[><|!&;]\|[!=]='
 syn region shDo transparent matchgroup=specBlock start="\<do\>" end="\<done\>" contains=ALLBUT,shFunction,shDoError,shCase,specPreAmble, at specListedFiles
 
-syn region specIf  matchgroup=specBlock start="%ifosf\|%ifos\|%ifnos\|%ifarch\|%ifnarch\|ifdef\|ifndef\|%if\|%else"  end='%endif'  contains=ALLBUT, specIfError, shCase
+syn region specIf  matchgroup=specBlock start="%ifosf\|%ifos\|%ifnos\|%ifarch\|%ifnarch\|ifdef\|ifndef\|%if\|%else"  end='%endif'  contains=ALLBUT, specIfError, shCase, shComment
 
 syn region shIf transparent matchgroup=specBlock start="\<if\>" end="\<fi\>" contains=ALLBUT,shFunction,shIfError,shCase, at specListedFiles
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/spec.vim?r1=1.34&r2=1.35&f=u




More information about the pld-cvs-commit mailing list