From 60916d2c34d4f30d0dea45da62bc790bc3b15004 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 16 Jul 2020 22:48:46 +0200 Subject: [PATCH] add nix mode --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index 0144094..b887a0a 100644 --- a/init.el +++ b/init.el @@ -89,6 +89,7 @@ (add-hook 'lisp-mode-hook 'tabs-nay) (add-hook 'scheme-mode-hook 'tabs-nay) (add-hook 'emacs-lisp-mode-hook 'tabs-nay) +(add-hook 'nix-mode-hook 'tabs-nay) ;; time to throw out this "DocView" abomination: full featured pdf ;; viewer of antiquity, that emacs uses today! @@ -297,6 +298,10 @@ :straight t :init (global-flycheck-mode)) +(use-package nix-mode + :straight t + :mode "\\.nix\\'") + ;; throw away all the list-of-custom-shit! (setq custom-file "~/.emacs.d/custom.el") (load custom-file 'noerror)