diff --git a/rpm-specfile.js b/rpm-specfile.js index 6d5e5e6..7ff106e 100644 --- a/rpm-specfile.js +++ b/rpm-specfile.js @@ -31,7 +31,7 @@ function hljsDefineRpmSpecfile(hljs) { begin: /^(Name|BuildRequires|BuildConflicts|Version|Release|Epoch|Summary|Group|License|Packager|Vendor|Icon|URL|Distribution|Prefix|Patch[0-9]*|Source[0-9]*|Requires\(?[a-z]*\)?|[a-zA-Z]+Req|Obsoletes|Recommends|Suggests|Supplements|Enhances|Provides|Conflicts|RemovePathPostfixes|Build[a-zA-Z]+|[a-zA-Z]+Arch|Auto[a-zA-Z]+)(:)/, }, { - className: "keyword", + className: "section", begin: /(%)(?:package|prep|generate_buildrequires|sourcelist|patchlist|build|description|install|verifyscript|clean|changelog|check|pre[a-z]*|post[a-z]*|trigger[a-z]*|files)/, }, {