contrib/hg-test-mode.el
changeset 22092 6e5ff8e26af6
parent 22081 ed426b011612
child 22109 feab93a24e81
equal deleted inserted replaced
22090:711b5cfddb1b 22092:6e5ff8e26af6
    23 
    23 
    24 (defconst hg-test-font-lock-keywords-1
    24 (defconst hg-test-font-lock-keywords-1
    25   (list
    25   (list
    26    '("^  \\(\\$\\|>>>\\) " 1 font-lock-builtin-face)
    26    '("^  \\(\\$\\|>>>\\) " 1 font-lock-builtin-face)
    27    '("^  \\(>\\|\\.\\.\\.\\) " 1 font-lock-constant-face)
    27    '("^  \\(>\\|\\.\\.\\.\\) " 1 font-lock-constant-face)
       
    28    '("\\$?\\(HG\\|TEST\\)\\w+=?" . font-lock-variable-name-face)
    28    '("^  \\([[][0-9]+[]]\\)$" 1 font-lock-warning-face)
    29    '("^  \\([[][0-9]+[]]\\)$" 1 font-lock-warning-face)
    29    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)+\\)$" 2 font-lock-type-face)
    30    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)+\\)$" 2 font-lock-type-face)
    30    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)*\\)$" 1 font-lock-string-face)
    31    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)*\\)$" 1 font-lock-string-face)
    31    '("^#.*" . font-lock-preprocessor-face)
    32    '("^#.*" . font-lock-preprocessor-face)
    32    '("^\\([^ ].*\\)$" 1 font-lock-comment-face)
    33    '("^\\([^ ].*\\)$" 1 font-lock-comment-face)