Skip to content

Commit

Permalink
SCSS: Alias statement as keyword. Fix #246
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Jul 5, 2016
1 parent 318aab3 commit fd09391
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 @@ -48,7 +48,10 @@ Prism.languages.insertBefore('scss', 'function', {
pattern: /%[-_\w]+/,
alias: 'selector'
},
'statement': /\B!(?:default|optional)\b/i,
'statement': {
pattern: /\B!(?:default|optional)\b/i,
alias: 'keyword'
},
'boolean': /\b(?:true|false)\b/,
'null': /\bnull\b/,
'operator': {
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 fd09391

Please sign in to comment.