From 983c17466c18209282e63472ba922f93ea0acaf2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 7 Apr 2015 22:57:10 +0100 Subject: Emacs: Add nix-mode configuration --- tag-emacs/emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index c1b2c41..fe553d4 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -774,6 +774,11 @@ mouse-1: Display Line and Column Mode Menu")))))) (req-package haskell-mode :mode (("\\.hs\\'" . haskell-mode))) +(req-package nix-mode + :mode (("\\.nix\\'" . nix-mode)) + :config (progn + (setq-local indent-tabs-mode nil))) + (define-derived-mode xmonad-mode haskell-mode "XM") (add-to-list 'auto-mode-alist '("xmobarrc\\'" . xmonad-mode)) (add-to-list 'auto-mode-alist '("xmonad.hs\\'" . xmonad-mode)) -- cgit 1.4.1