Skip to content

Commit 91c5228

Browse files
authored
enh(nsis) Update language string pattern (#3420)
1 parent b46301e commit 91c5228

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Grammars:
88
- fix(fsharp) Highlight operators, match type names only in type annotations, support quoted identifiers, and other smaller fixes. [Melvyn Laïly][]
99
- enh(java) add `sealed` and `non-sealed` keywords (#3386) [Bradley Mackey][]
1010
- enh(nsis) Update defines pattern to allow `!` (#3417) [idleberg][]
11+
- enh(nsis) Update language strings pattern to allow `!` (#3420) [idleberg][]
1112
- fix(clojure) Several issues with Clojure highlighting (#3397) [Björn Ebbinghaus][]
1213
- fix(clojure) `comment` macro catches more than it should (#3395)
1314
- fix(clojure) `$` in symbol breaks highlighting

src/languages/nsis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default function(hljs) {
167167
const LANGUAGES = {
168168
// $(language_strings)
169169
className: 'variable',
170-
begin: /\$+\([\w^.:-]+\)/
170+
begin: /\$+\([\w^.:!-]+\)/
171171
};
172172

173173
const PARAMETERS = {

0 commit comments

Comments
 (0)