changeset 189 | c3ec8e16a007 |
parent 164 | d7ed163b397e |
child 257 | 2f3ac763c340 |
188:e36736f245fd | 189:c3ec8e16a007 |
---|---|
1 ;; DO NOT EDIT COMMENT! TAG: nsis-mode |
|
2 (when (eq window-system 'w32) |
|
3 (define-generic-mode 'nsis-generic-mode |
|
4 (list ?\;) |
|
5 '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto") |
|
6 '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face)) |
|
7 ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face)) |
|
8 ) |
|
9 (list "\\.\\(nsi\\|nsh\\)$") |
|
10 nil |
|
11 "Generic mode for nsis files.")) |