]> git.pld-linux.org Git - packages/vim.git/commitdiff
- add %pear_package_(setup|install)
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Dec 2005 23:29:32 +0000 (23:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    spec.vim -> 1.40

spec.vim

index ea6dff556de73f6da3ee4d60b693ecece15d222a..67a71ebe812aeff468fa3fd2716c96567db04571 100644 (file)
--- a/spec.vim
+++ b/spec.vim
@@ -64,8 +64,15 @@ syn cluster specListedFiles contains=specListedFilesBin,specListedFilesLib,specL
 " specComands
 syn match   specConfigure  contained '\./configure'
 syn match   specTarCommand contained '\<tar\s\+[cxvpzjf]\{,5}\s*'
-syn match   specMacro contained '%\(\(group\|user\)\(add\|remove\)\|banner\|service\|addusertogroup\|\(\(nsplugin\|apache_config\)_\(un\)\?install\)\|webapp_\(un\)\?register\|depmod\|py_o\?comp\|py_postclean\)'
+
 " XXX don't forget to update specScriptArea when updating specMacro
+syn match   specMacro contained '%\(group\|user\)\(add\|remove\)'
+syn match   specMacro contained '%\(depmod\|banner\|service\|addusertogroup\)'
+syn match   specMacro contained '%\(\(nsplugin\|apache_config\)_\(un\)\?install\)'
+syn match   specMacro contained '%\(webapp_\(un\)\?register\)'
+syn match   specMacro contained '%\(pear_package_\(setup\|install\)\)'
+syn match   specMacro contained '%\(py_o\?comp\|py_postclean\)'
+
 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
 syn cluster specCommands contains=specCommand,specTarCommand,specConfigure,specCommandSpecial,specMacro
@@ -145,7 +152,7 @@ syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e
 " %% Scripts Section %%
 syn region specScriptArea matchgroup=specSection
        \ start='^%\(prep\|build\|install\|clean\|pre\|postun\|preun\|post\|triggerin\|triggerun\|triggerpostun\|pretrans\|posttrans\|verifyscript\)\>'
-       \ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|useradd\|groupadd\|addusertogroup\|banner\|service\|py_o\?comp\|py_postclean\|\(\(nsplugin\|apache_config\)_\(un\)\?install\)\|webapp_\(un\)\?register\|depmod\)\>'
+       \ skip='^%{\|^%\(define\|patch\d*\|configure2_13\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|useradd\|groupadd\|addusertogroup\|banner\|service\|py_o\?comp\|py_postclean\|\(\(nsplugin\|apache_config\)_\(un\)\?install\)\|webapp_\(un\)\?register\|depmod\|pear_package_\(setup\|install\)\)\>'
        \ end='^%'me=e-1
        \ contains=specSpecialVariables,specVariables,@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
This page took 0.035229 seconds and 4 git commands to generate.