projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096d289
)
emacs: highlight variable expansions too
author
Evan Martin
<martine@danga.com>
Sun, 22 May 2011 17:28:09 +0000
(10:28 -0700)
committer
Evan Martin
<martine@danga.com>
Sun, 22 May 2011 17:28:09 +0000
(10:28 -0700)
misc/ninja-mode.el
patch
|
blob
|
history
diff --git
a/misc/ninja-mode.el
b/misc/ninja-mode.el
index 82595f09113be00b243fac066198afef806b837a..0ae925a343bf641e953a97b009c8a573ef7b657c 100644
(file)
--- a/
misc/ninja-mode.el
+++ b/
misc/ninja-mode.el
@@
-22,6
+22,8
@@
'words))
font-lock-keyword-face)
'("\\([[:alnum:]_]+\\) =" . (1 font-lock-variable-name-face))
+ ;; Variable expansion.
+ '("\\($[[:alnum:]_]+\\)" . (1 font-lock-variable-name-face))
))
(define-derived-mode ninja-mode fundamental-mode "ninja"
(setq comment-start "#")