equal
deleted
inserted
replaced
12 ;; |
12 ;; |
13 ;; Very pure syntax highlighting. |
13 ;; Very pure syntax highlighting. |
14 |
14 |
15 ;;; Code: |
15 ;;; Code: |
16 |
16 |
|
17 ;;;###autoload |
17 (define-generic-mode 'nsis-mode |
18 (define-generic-mode 'nsis-mode |
18 (list ?\;) |
19 (list ?\;) |
19 '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto") |
20 '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto") |
20 '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face)) |
21 '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face)) |
21 ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face)) |
22 ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face)) |