Style builtins as 'built_in', expand list
- Change styling for fundamental spec syntax to 'built_in' - Add more commands, like %define/%global and %bcond*
This commit is contained in:
parent
921ef57449
commit
5e12abc73c
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ function hljsDefineRpmSpecfile(hljs) {
|
|||
begin: /(%)(?:package|prep|generate_buildrequires|sourcelist|patchlist|build|description|install|verifyscript|clean|changelog|check|pre[a-z]*|post[a-z]*|trigger[a-z]*|files)/,
|
||||
},
|
||||
{
|
||||
className: "link",
|
||||
begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif)/,
|
||||
className: "built_in",
|
||||
begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif|bcond_(with|without)|bcond|define|global)/,
|
||||
},
|
||||
{
|
||||
className: "link",
|
||||
|
|
Loading…
Add table
Reference in a new issue