mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
eca29bd72d
Emacs 24.1 introduced the notion of "basic major modes" and among these is prog-mode, see section "23.2.5 Basic Major Modes" in the Emacs manual. The prog-mode basic major mode is recommended as a base for derived major modes that are intended for editing source code. |
||
---|---|---|
.. | ||
local.mk | ||
nix-mode.el | ||
README |
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'.