aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-10 06:12:09 +0800
committerGitHub <noreply@github.com>2024-05-10 06:12:09 +0800
commitca735c7554701a1191e6afdac2ea4b4f94ba6d88 (patch)
tree66f774d9fa87d06e051aad6ae74b01f4853c65d0
parenta7a9b205b5ad6f57a413f98c25a53edf160e5f37 (diff)
downloadrneovim-ca735c7554701a1191e6afdac2ea4b4f94ba6d88.tar.gz
rneovim-ca735c7554701a1191e6afdac2ea4b4f94ba6d88.tar.bz2
rneovim-ca735c7554701a1191e6afdac2ea4b4f94ba6d88.zip
vim-patch:cb3691811be9 (#28684)
runtime(spec): add new items to scripts section in syntax plugin - %generate_buildrequires — added in RPM 4.15 - %conf — added in RPM 4.18 closes: vim/vim#14723 Ref: https://rpm-software-management.github.io/rpm/manual/spec.html#build-scriptlets https://github.com/vim/vim/commit/cb3691811be93b2c49179649c684d6ce2141a46f Co-authored-by: Maxwell G <maxwell@gtmx.me>
-rw-r--r--runtime/syntax/spec.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/spec.vim b/runtime/syntax/spec.vim
index 12ce8d5ac1..4cb3a343eb 100644
--- a/runtime/syntax/spec.vim
+++ b/runtime/syntax/spec.vim
@@ -111,7 +111,7 @@ syn region specDescriptionArea matchgroup=specSection start='^%description' end=
syn region specPackageArea matchgroup=specSection start='^%package' end='^%'me=e-1 contains=specPackageOpts,specPreAmble,specComment
"%% Scripts Section %%
-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
+syn region specScriptArea matchgroup=specSection start='^%\(prep\|generate_buildrequires\|conf\|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
"%% Changelog Section %%
syn region specChangelogArea matchgroup=specSection start='^%changelog' end='^%'me=e-1 contains=specEmail,specURL,specWeekday,specMonth,specNumber,specComment,specLicense