template-pre/nsis-mode.el
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 02 Dec 2009 23:46:58 +0200
changeset 207 9c5a1d6f19c8
parent 164 d7ed163b397e
child 257 2f3ac763c340
permissions -rw-r--r--
Added connent.

;; DO NOT EDIT COMMENT! TAG: nsis-mode
(when (eq window-system 'w32)
  (define-generic-mode 'nsis-generic-mode
    (list ?\;)
    '("Section" "SectionEnd" "Function" "FunctionEnd" "Call" "Goto")
    '(("!\\([A-Za-z]+\\)" (1 'font-lock-builtin-face))
      ("$[({]?\\([A-Za-z0-9_]+\\)[)}]?" (1 'font-lock-variable-name-face))
      )
    (list "\\.\\(nsi\\|nsh\\)$")
    nil
    "Generic mode for nsis files."))