diff options
author | Fanael Linithien <fanael4@gmail.com> | 2014-11-22 17:59:53 (GMT) |
---|---|---|
committer | Fanael Linithien <fanael4@gmail.com> | 2014-11-23 21:25:27 (GMT) |
commit | 310532c0b0c4a80f089477e7cdd2fb99b20e7de1 (patch) | |
tree | f80d0b8135e35b7640a6def735d4184af7e5abeb /misc | |
parent | 931db561cfd2c3fcfe85a5ab8783828137106014 (diff) | |
download | Ninja-310532c0b0c4a80f089477e7cdd2fb99b20e7de1.zip Ninja-310532c0b0c4a80f089477e7cdd2fb99b20e7de1.tar.gz Ninja-310532c0b0c4a80f089477e7cdd2fb99b20e7de1.tar.bz2 |
Remove unnecessary regexp group.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ninja-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index fd54b29..b475edb 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -28,8 +28,8 @@ . font-lock-keyword-face) ("\\([[:alnum:]_]+\\) =" . (1 font-lock-variable-name-face)) ;; Variable expansion. - ("\\($[[:alnum:]_]+\\)" . (1 font-lock-variable-name-face)) - ("\\(${[[:alnum:]._]+}\\)" . (1 font-lock-variable-name-face) + ("$[[:alnum:]_]+" . font-lock-variable-name-face) + ("${[[:alnum:]._]+}" . font-lock-variable-name-face) ;; Rule names ("rule +\\([[:alnum:]_.-]+\\)" . (1 font-lock-function-name-face)) ;; Build Statement - highlight the rule used, |