diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-05 13:35:09 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-05 13:35:09 +0100 |
commit | 2f280fce2505b6c12cdc7b87463de8d4cacfab95 (patch) | |
tree | b4eec28a2ed77e8b966ed7ff3385ec551bd2b22d /.emacs.d | |
parent | c9b3681363990348aa193e73969b845aff05f28f (diff) | |
download | dotfiles-2f280fce2505b6c12cdc7b87463de8d4cacfab95.tar.gz |
Add emacs-nixfmt
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-nix.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-nix.el b/.emacs.d/lisp/init-nix.el index b4cf0fe..c92ef0b 100644 --- a/.emacs.d/lisp/init-nix.el +++ b/.emacs.d/lisp/init-nix.el @@ -5,6 +5,9 @@ (use-package nix-mode :commands nix-repl-show) +(use-package nixfmt + :hook (nix-mode . nixfmt-on-save-mode)) + (use-package nix-update :commands nix-update-fetch) |