SOURCES: spec.vim - recognize gconf_schema_(un)?install, scrollkeeper_updat...
adamg
adamg at pld-linux.org
Tue Jun 24 09:26:17 CEST 2008
Author: adamg Date: Tue Jun 24 07:26:17 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- recognize gconf_schema_(un)?install, scrollkeeper_update_post(un)?, update_icon_cache macros
---- Files affected:
SOURCES:
spec.vim (1.81 -> 1.82)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.81 SOURCES/spec.vim:1.82
--- SOURCES/spec.vim:1.81 Mon Jun 16 17:12:55 2008
+++ SOURCES/spec.vim Tue Jun 24 09:26:11 2008
@@ -79,6 +79,9 @@
syn match specMacro contained '%ant'
syn match specMacro contained '%\(php\|php4\)_webserver_restart'
syn match specMacro contained '%update_browser_plugins\|%browser_plugins_add_browser'
+syn match specMacro contained '%gconf_schema_\(un\)?install'
+syn match specMacro contained '%scrollkeeper_update_post\(un\)?'
+syn match specMacro contained '%update_icon_cache'
syn keyword specCommandSpecial contained root
syn keyword specCommand contained make xmkmf mkdir chmod find sed rm strip moc echo grep ls rm mv mkdir chown install cp pwd cat tail then else elif cd gzip rmdir ln eval export touch unzip bzip2
@@ -175,7 +178,7 @@
" %% Scripts Section %%
syn region specScriptArea matchgroup=specSection
\ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerin\|triggerun\|triggerpostun\|pretrans\|posttrans\|verifyscript\|check\)\>'
- \ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|ant\|GNUconfigure\|setup\|find_lang\|makeinstall\|cmake\|scons\|waf\|useradd\|groupadd\|addusertogroup\|banner\|service\|env_update\|py_o\?comp\|py_postclean\|\(openldap_schema\|webapp\)_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\|\(build\|install\)_kernel_modules\|php_webserver_restart\|php4_webserver_restart\|update_browser_plugins\)\>'
+ \ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|ant\|GNUconfigure\|setup\|find_lang\|makeinstall\|cmake\|scons\|waf\|useradd\|groupadd\|addusertogroup\|banner\|service\|env_update\|py_o\?comp\|py_postclean\|\(openldap_schema\|webapp\)_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\|\(build\|install\)_kernel_modules\|php_webserver_restart\|php4_webserver_restart\|update_browser_plugins\|gconf_schema_\(un\)?install\|scrollkeeper_update_post\(un\)?\|update_icon_cache\)\>'
\ end='^%'me=e-1
\ contains=specSpecialVariables,specVariables, at specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2,specSectionMacroBcondArea
" XXX don't forget to update specMacro when updating specScriptArea skip definition
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/spec.vim?r1=1.81&r2=1.82&f=u
More information about the pld-cvs-commit
mailing list