lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
be47cc2
diff -up vim74/runtime/syntax/spec.vim.orig vim74/runtime/syntax/spec.vim
be47cc2
--- vim74/runtime/syntax/spec.vim.orig	2016-01-12 13:51:55.727569873 +0100
be47cc2
+++ vim74/runtime/syntax/spec.vim	2016-01-12 13:53:08.124991178 +0100
be47cc2
@@ -114,7 +114,7 @@ syn region specDescriptionArea matchgrou
be47cc2
 syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
be47cc2
 
be47cc2
 "%% Scripts Section %%
be47cc2
-syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|check\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
be47cc2
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|check\|clean\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|global\|patch\d*\|configure\|GNUconfigure\|setup\|find_lang\|makeinstall\|make_install\)\>' end='^%'me=e-1 contains=specSpecialVariables,specVariables,@specCommands,specVariables,shDo,shFor,shCaseEsac,specNoNumberHilite,specCommandOpts,shComment,shIf,specSpecialChar,specMacroIdentifier,specSectionMacroArea,specSectionMacroBracketArea,shOperator,shQuote1,shQuote2
be47cc2
 
be47cc2
 "%% Changelog Section %%
be47cc2
 syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense