mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-02 02:16:15 +02:00
61c464f252
- Use define-derived-mode to declare nix-mode - Use autoloads to ensure nix-mode is usable (and enabled) without needing `require` - Use set + make-local-variable instead of longer 2-step equivalent |
||
---|---|---|
.. | ||
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'.