|
Zdenek Dohnal |
7f8136 |
diff --git a/runtime/syntax/spec.vim b/runtime/syntax/spec.vim
|
|
Zdenek Dohnal |
7f8136 |
index 1a5a108..b709d20 100644
|
|
Zdenek Dohnal |
7f8136 |
--- a/runtime/syntax/spec.vim
|
|
Zdenek Dohnal |
7f8136 |
+++ b/runtime/syntax/spec.vim
|
|
Zdenek Dohnal |
7f8136 |
@@ -111,7 +111,7 @@ syn region specDescriptionArea matchgroup=specSection start='^%description' end=
|
|
Karsten Hopp |
be47cc |
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
|
|
Karsten Hopp |
be47cc |
|
|
Karsten Hopp |
be47cc |
"%% Scripts Section %%
|
|
Zdenek Dohnal |
7f8136 |
-syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|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
|
|
Zdenek Dohnal |
7f8136 |
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|build\|install\|clean\|check\|pre\|postun\|preun\|post\|posttrans\)\>' skip='^%{\|^%\(define\|global\|patch\d*\|configure\|GNUconfigure\|setup\|autosetup\|autopatch\|find_lang\|make_build\|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
|
|
Karsten Hopp |
be47cc |
|
|
Karsten Hopp |
be47cc |
"%% Changelog Section %%
|
|
Karsten Hopp |
be47cc |
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense
|