I want to create a syntax file for my favorite editor, how do I get a list of all NSIS commands
From NSIS Wiki
Run makensis.exe /CMDHELP to get a list of available commands. The nsExec example does this so you can just copy of the install log using the context menu. The same list is available in Source\tokens.cpp. The list of variables is in Source\build.cpp on the top.