all repos — nixfiles @ 5f4b83d79170c1867d53cc27028691edf16bb918

System and user configuration, managed by nix and home-manager

Emacs: install dtrt-indent, but don't auto-enable

Only need this when working on other people's code
Alan Pearce alan@alanpearce.eu
Wed, 28 Jun 2023 18:35:22 +0200
commit

5f4b83d79170c1867d53cc27028691edf16bb918

parent

2e09f7f56e2ac3970ac5143007d78c9d3453463a

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -712,6 +712,9 @@ (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)
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -111,6 +111,7 @@ crux         dired-git-info
         docker-compose-mode
         dockerfile-mode
+        dtrt-indent
         envrc
         editorconfig
         eglot