hl-line face already set in '.emacs-my'.
;;; iar-linker-config-mode.el --- major mode for highlighting NSIS scripts
;; Copyright (C) 2009, 2010 by Oleksandr Gavenko <gavenkoa@gmail.com>
;; You can do anything with this file without any warranty.
;; Author: Oleksandr Gavenko <gavenkoa@gmail.com>
;; Maintainer: Oleksandr Gavenko <gavenkoa@gmail.com>
;; Created: 2009-09-14
;; Version: 0.1
;; Keywords: languages
;;; Commentary:
;;
;; Very pure syntax highlighting.
;;; Code:
;;;###autoload
(define-generic-mode 'nsis-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.")
(provide 'nsis-mode)
;;; nsis-mode.el ends here