SOURCES: spec.vim - add %py_lint
glen
glen at pld-linux.org
Thu Jul 17 14:37:40 CEST 2008
Author: glen Date: Thu Jul 17 12:37:40 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add %py_lint
---- Files affected:
SOURCES:
spec.vim (1.83 -> 1.84)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.83 SOURCES/spec.vim:1.84
--- SOURCES/spec.vim:1.83 Wed Jul 2 17:08:27 2008
+++ SOURCES/spec.vim Thu Jul 17 14:37:34 2008
@@ -74,7 +74,7 @@
syn match specMacro contained '%\(\(nsplugin\|apache_config\)_\(un\)\?install\)'
syn match specMacro contained '%\(\(openldap_schema\|webapp\)_\(un\)\?register\)'
syn match specMacro contained '%\(pear_package_\(setup\|install\)\)'
-syn match specMacro contained '%\(py_o\?comp\|py_postclean\)'
+syn match specMacro contained '%\(py_o\?comp\|py_postclean\|py_lint\)'
syn match specMacro contained '%\(build\|install\)_kernel_modules'
syn match specMacro contained '%ant'
syn match specMacro contained '%\(php\|php4\)_webserver_restart'
@@ -178,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\|gconf_schema_\(un\)?install\|scrollkeeper_update_post\(un\)?\|update_icon_cache\)\>'
+ \ 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\|py_lint\|\(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.83&r2=1.84&f=u
More information about the pld-cvs-commit
mailing list