summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-06-28 18:35:22 +0200
committerAlan Pearce2023-06-28 18:35:40 +0200
commit5f4b83d79170c1867d53cc27028691edf16bb918 (patch)
treedbf4db5eddb1224d2b79869884e68060616aac4f /user/emacs
parent2e09f7f56e2ac3970ac5143007d78c9d3453463a (diff)
downloadnixfiles-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/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 3 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)