Skip to content

Commit a0854c7

Browse files
authored
[nsis mode] Add !assert command
1 parent 1e58b28 commit a0854c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/nsis/nsis.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CodeMirror.defineSimpleMode("nsis",{
2424
{ regex: /`(?:[^\\`]|\\.)*`?/, token: "string" },
2525

2626
// Compile Time Commands
27-
{regex: /^\s*(?:\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i, token: "keyword"},
27+
{regex: /^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i, token: "keyword"},
2828

2929
// Conditional Compilation
3030
{regex: /^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i, token: "keyword", indent: true},

0 commit comments

Comments
 (0)