Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing NSIS commands #3504

Merged
merged 4 commits into from Jul 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.