diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-06 18:54:29 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-06 18:54:29 +0000 |
commit | 510033e78376987ca358cebfa020754e61733543 (patch) | |
tree | 1425475f9c4baba1d49924859b50125a8427aa4d /misc/emacs/nix-mode.el | |
parent | 9d091ee99a9b962c72b3cb9485a89ba028dd1155 (diff) |
* Handle <path> syntax.
Diffstat (limited to 'misc/emacs/nix-mode.el')
-rw-r--r-- | misc/emacs/nix-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el index 306d478bd..121a9172b 100644 --- a/misc/emacs/nix-mode.el +++ b/misc/emacs/nix-mode.el @@ -80,6 +80,8 @@ The hook `nix-mode-hook' is run when Nix mode is started. . font-lock-constant-face) ("\\<\\([a-zA-Z_][a-zA-Z0-9_'\.]*\\)[ \t]*=" (1 font-lock-variable-name-face nil nil)) + ("<[a-zA-Z0-9._\\+-]+\\(/[a-zA-Z0-9._\\+-]+\\)*>" + . font-lock-constant-face) ("[a-zA-Z0-9._\\+-]*\\(/[a-zA-Z0-9._\\+-]+\\)+" . font-lock-constant-face) )) |