hg-test-mode: colorize HGFOO and TESTFOO environment variables
authorMatt Mackall <mpm@selenic.com>
Sun, 10 Aug 2014 23:13:12 -0500
changeset 22092 6e5ff8e26af6
parent 22090 711b5cfddb1b
child 22093 45611a306f77
hg-test-mode: colorize HGFOO and TESTFOO environment variables
contrib/hg-test-mode.el
--- a/contrib/hg-test-mode.el	Sun Aug 10 15:26:33 2014 -0500
+++ b/contrib/hg-test-mode.el	Sun Aug 10 23:13:12 2014 -0500
@@ -25,6 +25,7 @@
   (list
    '("^  \\(\\$\\|>>>\\) " 1 font-lock-builtin-face)
    '("^  \\(>\\|\\.\\.\\.\\) " 1 font-lock-constant-face)
+   '("\\$?\\(HG\\|TEST\\)\\w+=?" . font-lock-variable-name-face)
    '("^  \\([[][0-9]+[]]\\)$" 1 font-lock-warning-face)
    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)+\\)$" 2 font-lock-type-face)
    '("^  \\(.*?\\)\\(\\( [(][-a-z]+[)]\\)*\\)$" 1 font-lock-string-face)