diff contrib/hg-test-mode.el @ 22092:6e5ff8e26af6

hg-test-mode: colorize HGFOO and TESTFOO environment variables
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Aug 2014 23:13:12 -0500
parents ed426b011612
children feab93a24e81
line wrap: on
line diff
--- 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)