diff --git a/rpm-specfile.js b/rpm-specfile.js index 8ed6f40..8242916 100644 --- a/rpm-specfile.js +++ b/rpm-specfile.js @@ -37,7 +37,7 @@ function hljsDefineRpmSpecfile(hljs) { }, { className: "link", - begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif)/, + begin: /(%)(ifarch|ifnarch|ifos|ifnos|if|elifarch|elifos|elif|else|endif)/, }, { className: "link",