From f33d50a49fae314f098f63c5aa14911624588ce1 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sun, 29 Oct 2023 14:39:59 +0100 Subject: [emacs] dtrt-mode to guess people's indentation --- emacs/inits/20-programming.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'emacs/inits') 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) -- cgit v1.2.3