mattfidler / nsis-mode

NSIS mode for editing NSIS files
10 stars 7 forks source link

Add commands introduced since NSIS 3.0 #4

Closed idleberg closed 6 years ago

idleberg commented 6 years ago

This PR adds some missing control keywords and commands introduced since NSIS 3.0.

Since I have never used Emacs myself, I wanted to ask whether there's a way to highlight invalid (e.g. deprecated commands). The current syntax file contains at least three commands that have long been removed. We could either mark them as invalid/deprecated or remove them altogether.

mattfidler commented 6 years ago

You could highlight them as "errors" or "warnings"; The face should be font-lock-warning-face for these keywords.