summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-10-29 14:39:59 +0100
committertslil clingman <tslil@posteo.de>2023-10-29 14:47:17 +0100
commitf33d50a49fae314f098f63c5aa14911624588ce1 (patch)
tree13e3dcab4a1550b094a36eb189387375f5def421 /emacs
parentc7033e533a4cf2331dd81ff00ccc807397c0dfc5 (diff)
[emacs] dtrt-mode to guess people's indentation
Diffstat (limited to 'emacs')
-rw-r--r--emacs/inits/20-programming.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el
index 71a5cf9..23e9b53 100644
--- a/emacs/inits/20-programming.el
+++ b/emacs/inits/20-programming.el
@@ -1,4 +1,4 @@
-;; Time-stamp: <2023-08-29 09h09 CEST (anker)>
+;; Time-stamp: <2023-10-29 14h47 CET (anker)>
;; -----------------------------------------------------------------------------
;; General setup
@@ -41,6 +41,11 @@
(global-treesit-auto-mode)
(setq treesit-auto-install t))
+(use-package dtrt-indent
+ :ensure t
+ :config
+ (dtrt-indent-global-mode t))
+
(defun programming-setup ()
(subword-mode 1)
(electric-pair-local-mode)