diff options
author | Alan Pearce | 2023-06-28 18:35:22 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-28 18:35:40 +0200 |
commit | 5f4b83d79170c1867d53cc27028691edf16bb918 (patch) | |
tree | dbf4db5eddb1224d2b79869884e68060616aac4f /user | |
parent | 2e09f7f56e2ac3970ac5143007d78c9d3453463a (diff) | |
download | nixfiles-5f4b83d79170c1867d53cc27028691edf16bb918.tar.lz nixfiles-5f4b83d79170c1867d53cc27028691edf16bb918.tar.zst nixfiles-5f4b83d79170c1867d53cc27028691edf16bb918.zip |
Emacs: install dtrt-indent, but don't auto-enable
Only need this when working on other people's code
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 554dcf08..afcbbffd 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -712,6 +712,9 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package ws-butler :ghook ('prog-mode-hook)) +(use-package dtrt-indent + :commands (dtrt-indent-mode)) + (use-package rainbow-mode :ghook ('(css-mode-hook conf-xdefaults-mode-hook) diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index ea042814..08a9ceba 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -111,6 +111,7 @@ in dired-git-info docker-compose-mode dockerfile-mode + dtrt-indent envrc editorconfig eglot |