SOURCES: spec.vim - make conditionals being hilited properly in %f...
glen
glen at pld-linux.org
Wed Aug 10 15:49:31 CEST 2005
Author: glen Date: Wed Aug 10 13:49:31 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- make conditionals being hilited properly in %files area
---- Files affected:
SOURCES:
spec.vim (1.25 -> 1.26)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.25 SOURCES/spec.vim:1.26
--- SOURCES/spec.vim:1.25 Fri Jul 22 10:48:53 2005
+++ SOURCES/spec.vim Wed Aug 10 15:49:26 2005
@@ -111,7 +111,7 @@
" %% Files Section %%
" TODO %config valid parameters: missingok\|noreplace
" TODO %verify valid parameters: \(not\)\= \(md5\|atime\|...\)
-syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|exclude\|dev\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective, at specListedFiles,specComment,specCommandSpecial,specMacroIdentifier
+syn region specFilesArea matchgroup=specSection start='^%[Ff][Ii][Ll][Ee][Ss]\>' skip='%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|exclude\|dev\|if\|else\|endif\)\>' end='^%[a-zA-Z]'me=e-2 contains=specFilesOpts,specFilesDirective, at specListedFiles,specComment,specCommandSpecial,specMacroIdentifier,specSectionMacroBcondArea,specIf
" tip: remember to include new items in specFilesArea above
syn match specFilesDirective contained '%\(attrib\|defattr\|attr\|dir\|config\|docdir\|doc\|lang\|verify\|ghost\|exclude\|dev\)\>'
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/spec.vim?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list