Skip to content

Commit

Permalink
Add keyword alias for SCSS' null (#1735)
Browse files Browse the repository at this point in the history
Add the `keyword` alias to the `null` pattern for SCSS.

This was the last `null` pattern without any aliases (#1727).
  • Loading branch information
RunDevelopment authored and mAAdhaTTah committed Feb 14, 2019
1 parent fccfb98 commit bd0378f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/prism-scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ Prism.languages.insertBefore('scss', 'function', {
alias: 'keyword'
},
'boolean': /\b(?:true|false)\b/,
'null': /\bnull\b/,
'null': {
pattern: /\bnull\b/,
alias: 'keyword'
},
'operator': {
pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,
lookbehind: true
Expand Down
2 changes: 1 addition & 1 deletion components/prism-scss.min.js

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

0 comments on commit bd0378f

Please sign in to comment.