Skip to content

Commit

Permalink
enh(nsis) Update language string pattern (#3420)
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg authored Dec 6, 2021
1 parent b46301e commit 91c5228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Grammars:
- fix(fsharp) Highlight operators, match type names only in type annotations, support quoted identifiers, and other smaller fixes. [Melvyn Laïly][]
- enh(java) add `sealed` and `non-sealed` keywords (#3386) [Bradley Mackey][]
- enh(nsis) Update defines pattern to allow `!` (#3417) [idleberg][]
- enh(nsis) Update language strings pattern to allow `!` (#3420) [idleberg][]
- fix(clojure) Several issues with Clojure highlighting (#3397) [Björn Ebbinghaus][]
- fix(clojure) `comment` macro catches more than it should (#3395)
- fix(clojure) `$` in symbol breaks highlighting
Expand Down
2 changes: 1 addition & 1 deletion src/languages/nsis.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default function(hljs) {
const LANGUAGES = {
// $(language_strings)
className: 'variable',
begin: /\$+\([\w^.:-]+\)/
begin: /\$+\([\w^.:!-]+\)/
};

const PARAMETERS = {
Expand Down

0 comments on commit 91c5228

Please sign in to comment.