SOURCES: spec.vim - mark License: unkown red to be noticed and not...
glen
glen at pld-linux.org
Wed Jul 26 20:45:57 CEST 2006
Author: glen Date: Wed Jul 26 18:45:57 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- mark License: unkown red to be noticed and not to STBR
---- Files affected:
SOURCES:
spec.vim (1.50 -> 1.51)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.50 SOURCES/spec.vim:1.51
--- SOURCES/spec.vim:1.50 Sat Jul 8 14:16:19 2006
+++ SOURCES/spec.vim Wed Jul 26 20:45:52 2006
@@ -41,6 +41,7 @@
" Day, Month and most used license acronyms
syn keyword specLicense contained GPL LGPL BSD MIT GNU Apache PHP
+syn keyword specLicenseWarning contained unknown
syn keyword specWeekday contained Mon Tue Wed Thu Fri Sat Sun
syn keyword specMonth contained Jan Feb Mar Apr Jun Jul Aug Sep Oct Nov Dec
syn keyword specMonth contained January February March April May June July August September October November December
@@ -151,7 +152,7 @@
syn region specPreAmble oneline matchgroup=specCommand
\ start='\(^\|\(^%{!\??\(with\(out\)\?_[a-zA-Z0-9_]\+\|debug\):\)\@<=\)\(Summary\|Name\|Version\|Packager\|Requires\|Icon\|URL\|Source\d*\|Patch\d*\|Prefix\|Packager\|Group\|License\|Release\|BuildRoot\|Distribution\|Vendor\|Provides\|ExclusiveArch\|ExcludeArch\|ExclusiveOS\|Obsoletes\|BuildArch\|BuildArchitectures\|BuildRequires\|BuildConflicts\|Conflicts\|AutoRequires\|AutoReqProv\|AutoReq\|AutoProv\|Epoch\|NoSource\)'
\ end='$\|}\@='
- \ contains=specEmail,specURL,specURLMacro,specLicense,specColon,specVariables,specSpecialChar,specMacroIdentifier,specSectionMacroBcondArea
+ \ contains=specEmail,specURL,specURLMacro,specLicense,specLicenseWarning,specColon,specVariables,specSpecialChar,specMacroIdentifier,specSectionMacroBcondArea
" %% Description Section %%
syn region specDescriptionArea matchgroup=specSection start='^%description' end='^%'me=e-1
@@ -262,6 +263,7 @@
HiLink specFilesDirective specSectionMacro
HiLink specFilesOpts specOpts
HiLink specLicense String
+ HiLink specLicenseWarning specError
HiLink specMacroNameLocal specGlobalMacro
HiLink specMacroNameOther specGlobalMacro
HiLink specManpageFile NONE
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/spec.vim?r1=1.50&r2=1.51&f=u
More information about the pld-cvs-commit
mailing list