Skip to content

Commit

Permalink
Neon: Change alias of key to property (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonweiting committed Mar 14, 2022
1 parent ea8a0f4 commit 1c533f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-neon.js
Expand Up @@ -11,7 +11,7 @@ Prism.languages.neon = {
'key': {
pattern: /(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,
lookbehind: true,
alias: 'atrule'
alias: 'property'
},
'number': {
pattern: /(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-neon.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c533f4

Please sign in to comment.