add nix mode

This commit is contained in:
Grigory Shipunov 2020-07-16 22:48:46 +02:00
parent a05abd8526
commit 60916d2c34
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

View file

@ -89,6 +89,7 @@
(add-hook 'lisp-mode-hook 'tabs-nay) (add-hook 'lisp-mode-hook 'tabs-nay)
(add-hook 'scheme-mode-hook 'tabs-nay) (add-hook 'scheme-mode-hook 'tabs-nay)
(add-hook 'emacs-lisp-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 ;; time to throw out this "DocView" abomination: full featured pdf
;; viewer of antiquity, that emacs uses today! ;; viewer of antiquity, that emacs uses today!
@ -297,6 +298,10 @@
:straight t :straight t
:init (global-flycheck-mode)) :init (global-flycheck-mode))
(use-package nix-mode
:straight t
:mode "\\.nix\\'")
;; throw away all the list-of-custom-shit! ;; throw away all the list-of-custom-shit!
(setq custom-file "~/.emacs.d/custom.el") (setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror) (load custom-file 'noerror)