Mercurial > hg-stable
changeset 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 | 711b5cfddb1b |
children | 45611a306f77 |
files | contrib/hg-test-mode.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)