nix-super/misc/emacs
Florian Friesdorf 8fcaf3e9c6 make nix-mode provide 'nix-mode
this enables (require 'nix-mode)
2011-02-14 03:11:56 +00:00
..
Makefile.am * Support for srcdir != builddir (NIX-41). 2006-05-12 11:47:45 +00:00
nix-mode.el make nix-mode provide 'nix-mode 2011-02-14 03:11:56 +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'.