template-pre/nsis-mode.el
changeset 164 d7ed163b397e
child 257 2f3ac763c340
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template-pre/nsis-mode.el	Mon Sep 14 12:16:12 2009 +0300
@@ -0,0 +1,11 @@
+;; 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."))