diff options
author | Evan Martin <martine@danga.com> | 2014-01-21 16:40:26 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2014-01-21 16:40:26 (GMT) |
commit | 1c41be988b6ee250b412a8e3fb4e55ce617a30f9 (patch) | |
tree | 33ca32c0db49f93a4ee057fb39bc7d85409108cb | |
parent | 7338dad4fdc1244a4cf2eb05e708c4e5f4ea1b68 (diff) | |
parent | e4dc39bdbf3ce36cb80183daa51c81587055fabf (diff) | |
download | Ninja-1c41be988b6ee250b412a8e3fb4e55ce617a30f9.zip Ninja-1c41be988b6ee250b412a8e3fb4e55ce617a30f9.tar.gz Ninja-1c41be988b6ee250b412a8e3fb4e55ce617a30f9.tar.bz2 |
Merge pull request #705 from yasuyk/elpa
emacs: ELPA compatibility
-rw-r--r-- | misc/ninja-mode.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index d939206..8c6a197 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -1,3 +1,5 @@ +;;; ninja-mode.el --- Major mode for editing .ninja files + ;; Copyright 2011 Google Inc. All Rights Reserved. ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,9 +14,13 @@ ;; See the License for the specific language governing permissions and ;; limitations under the License. +;;; Commentary: + ;; Simple emacs mode for editing .ninja files. ;; Just some syntax highlighting for now. +;;; Code: + (setq ninja-keywords (list '("^#.*" . font-lock-comment-face) @@ -40,3 +46,5 @@ ;; Run ninja-mode for files ending in .ninja. ;;;###autoload (add-to-list 'auto-mode-alist '("\\.ninja$" . ninja-mode)) + +;;; ninja-mode.el ends here |