diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-26T10·15+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-26T10·15+0100 |
commit | 71039becd11f5df4173692508dcb0ad36327c5fa (patch) | |
tree | 6f13b616d76fef4986d16c2e7b16f2f481a43b0f | |
parent | f6a224bd68f739ef9825df474d4b4f3379a5296b (diff) | |
parent | 5f1a3201ec0c451bf05f42a15a33d61b4c203603 (diff) |
Merge branch 'emacs-mode-keywords' of https://github.com/pSub/nix
-rw-r--r-- | misc/emacs/nix-mode.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el index 790799d858cc..10035e96ef30 100644 --- a/misc/emacs/nix-mode.el +++ b/misc/emacs/nix-mode.el @@ -9,16 +9,16 @@ ;;; Code: (defconst nix-font-lock-keywords - '("\\<if\\>" "\\<then\\>" "\\<else\\>" "\\<assert\\>" "\\<with\\>" - "\\<let\\>" "\\<in\\>" "\\<rec\\>" "\\<inherit\\>" "\\<or\\>" - ("\\<true\\>" . font-lock-builtin-face) - ("\\<false\\>" . font-lock-builtin-face) - ("\\<null\\>" . font-lock-builtin-face) - ("\\<import\\>" . font-lock-builtin-face) - ("\\<derivation\\>" . font-lock-builtin-face) - ("\\<baseNameOf\\>" . font-lock-builtin-face) - ("\\<toString\\>" . font-lock-builtin-face) - ("\\<isNull\\>" . font-lock-builtin-face) + '("\\_<if\\_>" "\\_<then\\_>" "\\_<else\\_>" "\\_<assert\\_>" "\\_<with\\_>" + "\\_<let\\_>" "\\_<in\\_>" "\\_<rec\\_>" "\\_<inherit\\_>" "\\_<or\\_>" + ("\\_<true\\_>" . font-lock-builtin-face) + ("\\_<false\\_>" . font-lock-builtin-face) + ("\\_<null\\_>" . font-lock-builtin-face) + ("\\_<import\\_>" . font-lock-builtin-face) + ("\\_<derivation\\_>" . font-lock-builtin-face) + ("\\_<baseNameOf\\_>" . font-lock-builtin-face) + ("\\_<toString\\_>" . font-lock-builtin-face) + ("\\_<isNull\\_>" . font-lock-builtin-face) ("[a-zA-Z][a-zA-Z0-9\\+-\\.]*:[a-zA-Z0-9%/\\?:@&=\\+\\$,_\\.!~\\*'-]+" . font-lock-constant-face) ("\\<\\([a-zA-Z_][a-zA-Z0-9_'\-\.]*\\)[ \t]*=" |