tvl-depot/misc/emacs
Eelco Dolstra 0a623a10c7 * Allow a default value in attribute selection by writing
x.y.z or default

  (as originally proposed in
  https://mail.cs.uu.nl/pipermail/nix-dev/2009-September/002989.html).

  For instance, an expression like

    stdenv.lib.attrByPath ["features" "ckSched"] false args

  can now be written as

    args.features.ckSched or false
2011-07-13 12:19:57 +00:00
..
Makefile.am * Support for srcdir != builddir (NIX-41). 2006-05-12 11:47:45 +00:00
nix-mode.el * Allow a default value in attribute selection by writing 2011-07-13 12:19:57 +00:00
README * README for the Emacs mode (written a while ago, but forgot to commit). 2004-06-20 19:08:59 +00:00

The Nix Emacs mode supports syntax highlighting, somewhat sensible
indenting, and refilling of comments.

To enable Nix mode in Emacs, add something like this to your ~/.emacs
file:

  (load "/nix/share/emacs/site-lisp/nix-mode.el")

This automatically causes Nix mode to be activated for all files with
extension `.nix'.