Skip to content

Commit

Permalink
NSIS: Added missing commands (#3504)
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jul 25, 2022
1 parent 3a53cf0 commit b0c2a9b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/prism-nsis.js

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

2 changes: 1 addition & 1 deletion components/prism-nsis.min.js

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

12 changes: 11 additions & 1 deletion tests/languages/nsis/keyword_feature.test
Expand Up @@ -76,15 +76,19 @@ GetFunction
GetFunctionAddress
GetFunctionEnd
GetInstDirError
GetKnownFolderPath
GetLabelAddress
GetTempFileName
GetWinVer
Goto
HideWindow
Icon
IfAbort
IfErrors
IfFileExists
IfRebootFlag
IfRtlLanguage
IfShellVarContextAll
IfSilent
InitPluginsDir
InstallButtonText
Expand Down Expand Up @@ -197,6 +201,7 @@ StrCpy
StrLen
SubCaption
System
Target
Unicode
UninstallButtonText
UninstallCaption
Expand Down Expand Up @@ -303,15 +308,19 @@ XPStyle
["keyword", "GetFunctionAddress"],
["keyword", "GetFunctionEnd"],
["keyword", "GetInstDirError"],
["keyword", "GetKnownFolderPath"],
["keyword", "GetLabelAddress"],
["keyword", "GetTempFileName"],
["keyword", "GetWinVer"],
["keyword", "Goto"],
["keyword", "HideWindow"],
["keyword", "Icon"],
["keyword", "IfAbort"],
["keyword", "IfErrors"],
["keyword", "IfFileExists"],
["keyword", "IfRebootFlag"],
["keyword", "IfRtlLanguage"],
["keyword", "IfShellVarContextAll"],
["keyword", "IfSilent"],
["keyword", "InitPluginsDir"],
["keyword", "InstallButtonText"],
Expand Down Expand Up @@ -424,6 +433,7 @@ XPStyle
["keyword", "StrLen"],
["keyword", "SubCaption"],
["keyword", "System"],
["keyword", "Target"],
["keyword", "Unicode"],
["keyword", "UninstallButtonText"],
["keyword", "UninstallCaption"],
Expand Down Expand Up @@ -452,4 +462,4 @@ XPStyle

----------------------------------------------------

Checks for all keywords.
Checks for all keywords.

0 comments on commit b0c2a9b

Please sign in to comment.