Merge branch 'master' into patch-2

This commit is contained in:
Frank Dana 2023-03-02 05:12:13 -05:00 committed by GitHub
commit 3388745584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ var module = module ? module : {}; // shim for browser use
function hljsDefineRpmSpecfile(hljs) {
return {
name: "rpm-specfile",
aliases: ['rpm', 'spec', 'rpm-spec', 'specfile'],
contains: [
hljs.COMMENT('%dnl'),
@ -36,7 +37,7 @@ function hljsDefineRpmSpecfile(hljs) {
},
{
className: "built_in",
begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif|bcond_(with|without)|bcond|define|global)/,
begin: /(%)(ifarch|ifnarch|ifos|ifnos|if|elifarch|elifos|elif|else|endif|bcond_(without|with)|bcond|define|global)/,
},
{
className: "link",