summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el3
-rw-r--r--user/settings/emacs.nix1
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