summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-06-26 05:12:01 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-06-26 05:12:01 (GMT)
commit234e49931293c9df77cc696b40038827b34a0bbf (patch)
treed35ceda7e5b4efd6376fda232391433d4c895457
parenteb03f388498e0dea69e76fb9069b05b31154b5a7 (diff)
parent583632513c19bd647b6b420783113939d5cb5e9f (diff)
downloadNinja-234e49931293c9df77cc696b40038827b34a0bbf.zip
Ninja-234e49931293c9df77cc696b40038827b34a0bbf.tar.gz
Ninja-234e49931293c9df77cc696b40038827b34a0bbf.tar.bz2
Merge pull request #786 from donkopotamus/patch-1
Update ninja-mode for emacs to handle hyphens in rule names
-rw-r--r--misc/ninja-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el
index 9fe6fc8..36ada6f 100644
--- a/misc/ninja-mode.el
+++ b/misc/ninja-mode.el
@@ -32,7 +32,7 @@
;; Variable expansion.
'("\\($[[:alnum:]_]+\\)" . (1 font-lock-variable-name-face))
;; Rule names
- '("rule \\([[:alnum:]_]+\\)" . (1 font-lock-function-name-face))
+ '("rule \\([[:alnum:]_-]+\\)" . (1 font-lock-function-name-face))
))
;;;###autoload