packages: vim-syntax-spec/spec.vim - add %cacti_import_template, fix %nagio...

glen glen at pld-linux.org
Thu Apr 15 08:50:06 CEST 2010


Author: glen                         Date: Thu Apr 15 06:50:06 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add %cacti_import_template, fix %nagios_nrpe

---- Files affected:
packages/vim-syntax-spec:
   spec.vim (1.106 -> 1.107) 

---- Diffs:

================================================================
Index: packages/vim-syntax-spec/spec.vim
diff -u packages/vim-syntax-spec/spec.vim:1.106 packages/vim-syntax-spec/spec.vim:1.107
--- packages/vim-syntax-spec/spec.vim:1.106	Thu Apr 15 00:46:11 2010
+++ packages/vim-syntax-spec/spec.vim	Thu Apr 15 08:50:01 2010
@@ -94,6 +94,7 @@
 syn match   specMacro contained '%update_icon_cache\|%update_mime_database'
 syn match   specMacro contained '%undos'
 syn match   specMacro contained '%nagios_nrpe'
+syn match   specMacro contained '%cacti_import_template'
 
 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
@@ -200,7 +201,7 @@
 " %% Scripts Section %%
 syn region specScriptArea matchgroup=specSection
 	\ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerprein\|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\|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\|update_mime_database\|undos\)\>'
+	\ 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\|update_mime_database\|undos\|nagios_nrpe\|cacti_import_template\)\>'
 	\ 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/packages/vim-syntax-spec/spec.vim?r1=1.106&r2=1.107&f=u



More information about the pld-cvs-commit mailing list