diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-06-26 05:12:01 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-06-26 05:12:01 (GMT) |
commit | 234e49931293c9df77cc696b40038827b34a0bbf (patch) | |
tree | d35ceda7e5b4efd6376fda232391433d4c895457 /misc | |
parent | eb03f388498e0dea69e76fb9069b05b31154b5a7 (diff) | |
parent | 583632513c19bd647b6b420783113939d5cb5e9f (diff) | |
download | Ninja-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
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ninja-mode.el | 2 |
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 |