Skip to content

Commit

Permalink
Add 'name' property
Browse files Browse the repository at this point in the history
Since highlightjs/highlight.js#2400 (merged as highlightjs/highlight.js@65d46b3),
a 'name' attribute is supported for language grammars.
  • Loading branch information
ferdnyc committed Feb 16, 2023
1 parent 921ef57 commit 78f00fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm-specfile.js
Expand Up @@ -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'),
Expand Down

0 comments on commit 78f00fc

Please sign in to comment.