about summary refs log tree commit diff
path: root/misc/emacs
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-06-18T09·56+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-06-18T09·56+0000
commitd53603c928ae98eee54bdd06241e898e02efef0c (patch)
tree5a7f68f8a114d8b1afb889af12887681bcb7aea7 /misc/emacs
parent14bc3ce3d6d5745717fa19b8b43b5fdd117ff757 (diff)
* Attributes names in attrsets can contain dots now.
Diffstat (limited to 'misc/emacs')
-rw-r--r--misc/emacs/nix-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/emacs/nix-mode.el b/misc/emacs/nix-mode.el
index d98353177c59..9d4d1b894a0f 100644
--- a/misc/emacs/nix-mode.el
+++ b/misc/emacs/nix-mode.el
@@ -76,7 +76,7 @@ The hook `nix-mode-hook' is run when Nix mode is started.
     ("\\<baseNameOf\\>" . font-lock-builtin-face)
     ("\\<toString\\>" . font-lock-builtin-face)
     ("\\<isNull\\>" . font-lock-builtin-face)
-    ("\\<\\([a-zA-Z_][a-zA-Z0-9_']*\\)[ \t]*="
+    ("\\<\\([a-zA-Z_][a-zA-Z0-9_'\.]*\\)[ \t]*="
      (1 font-lock-variable-name-face nil nil))
     ("[a-zA-Z][a-zA-Z0-9\\+-\\.]*:[a-zA-Z0-9%/\\?:@&=\\+\\$,_\\.!~\\*'-]+"
      . font-lock-constant-face)