lisp/nsis-mode.el
changeset 274 7c18567f0754
parent 271 bf0c4a022c5a
child 279 fd6164dfec82
equal deleted inserted replaced
273:3b0d646154dc 274:7c18567f0754
    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))