Skip to content

Commit

Permalink
editorconfig: Change alias of section from keyword to selector (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonweiting authored Jan 24, 2022
1 parent 2eb89e1 commit e46501b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-editorconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Prism.languages.editorconfig = {
'section': {
pattern: /(^[ \t]*)\[.+\]/m,
lookbehind: true,
alias: 'keyword',
alias: 'selector',
inside: {
'regex': /\\\\[\[\]{},!?.*]/, // Escape special characters with '\\'
'operator': /[!?]|\.\.|\*{1,2}/,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-editorconfig.min.js

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

0 comments on commit e46501b

Please sign in to comment.