diff options
author | Evan Martin <martine@danga.com> | 2011-05-22 17:28:09 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-22 17:28:09 (GMT) |
commit | 91e0f9ff96cc688c48973696d7d1dd2f4e356e3e (patch) | |
tree | 06cc6abc6a0e0269413e00bdbc66f5ecd7d137b6 | |
parent | 096d2895be6c8101653a109ef96e3b3f9a685f8d (diff) | |
download | Ninja-91e0f9ff96cc688c48973696d7d1dd2f4e356e3e.zip Ninja-91e0f9ff96cc688c48973696d7d1dd2f4e356e3e.tar.gz Ninja-91e0f9ff96cc688c48973696d7d1dd2f4e356e3e.tar.bz2 |
emacs: highlight variable expansions too
-rw-r--r-- | misc/ninja-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index 82595f0..0ae925a 100644 --- 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 "#") |