about summary refs log blame commit diff
path: root/misc/emacs/README
blob: 8c87f67d571881b6769d1e18b3331416d09b103f (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                     
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'.