all repos — nixfiles @ 79a11eaa2dacd7724e19e3d2b17e0b73093d6e09

System and user configuration, managed by nix and home-manager

Emacs: Fix nix-mode initialisation

Alan Pearce
commit

79a11eaa2dacd7724e19e3d2b17e0b73093d6e09

parent

7ab1d790109e523392be25f23d0aaa8bb3e9a2e8

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1456,7 +1456,8 @@
(req-package nix-mode :mode (("\\.nix\\'" . nix-mode)) :config (progn - (setq-local indent-tabs-mode nil))) + (add-hook 'nix-mode-hook (lambda () + (setq-local indent-tabs-mode nil))))) (define-derived-mode xmonad-mode haskell-mode "XM") (add-to-list 'auto-mode-alist '("xmobarrc\\'" . xmonad-mode))