Skip to content

Commit b0c2a9b

Browse files
authored
NSIS: Added missing commands (#3504)
1 parent 3a53cf0 commit b0c2a9b

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

components/prism-nsis.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/prism-nsis.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/languages/nsis/keyword_feature.test

+11-1
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,19 @@ GetFunction
7676
GetFunctionAddress
7777
GetFunctionEnd
7878
GetInstDirError
79+
GetKnownFolderPath
7980
GetLabelAddress
8081
GetTempFileName
82+
GetWinVer
8183
Goto
8284
HideWindow
8385
Icon
8486
IfAbort
8587
IfErrors
8688
IfFileExists
8789
IfRebootFlag
90+
IfRtlLanguage
91+
IfShellVarContextAll
8892
IfSilent
8993
InitPluginsDir
9094
InstallButtonText
@@ -197,6 +201,7 @@ StrCpy
197201
StrLen
198202
SubCaption
199203
System
204+
Target
200205
Unicode
201206
UninstallButtonText
202207
UninstallCaption
@@ -303,15 +308,19 @@ XPStyle
303308
["keyword", "GetFunctionAddress"],
304309
["keyword", "GetFunctionEnd"],
305310
["keyword", "GetInstDirError"],
311+
["keyword", "GetKnownFolderPath"],
306312
["keyword", "GetLabelAddress"],
307313
["keyword", "GetTempFileName"],
314+
["keyword", "GetWinVer"],
308315
["keyword", "Goto"],
309316
["keyword", "HideWindow"],
310317
["keyword", "Icon"],
311318
["keyword", "IfAbort"],
312319
["keyword", "IfErrors"],
313320
["keyword", "IfFileExists"],
314321
["keyword", "IfRebootFlag"],
322+
["keyword", "IfRtlLanguage"],
323+
["keyword", "IfShellVarContextAll"],
315324
["keyword", "IfSilent"],
316325
["keyword", "InitPluginsDir"],
317326
["keyword", "InstallButtonText"],
@@ -424,6 +433,7 @@ XPStyle
424433
["keyword", "StrLen"],
425434
["keyword", "SubCaption"],
426435
["keyword", "System"],
436+
["keyword", "Target"],
427437
["keyword", "Unicode"],
428438
["keyword", "UninstallButtonText"],
429439
["keyword", "UninstallCaption"],
@@ -452,4 +462,4 @@ XPStyle
452462

453463
----------------------------------------------------
454464

455-
Checks for all keywords.
465+
Checks for all keywords.

0 commit comments

Comments
 (0)