all repos — nixfiles @ 39a0b29655eb2314db1f7914f751595742e32d2d

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

emacs: fix editorconfig setting wrong indent settings in elisp
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 16:22:22 +0200
commit

39a0b29655eb2314db1f7914f751595742e32d2d

parent

f77930417978b41435b950bb98158840ec2a76c5

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -974,7 +974,9 @@ :commands (git-timemachine)) 
 (use-package editorconfig
   :defer 2
-  :config (editorconfig-mode +1))
+  :config (progn
+            (editorconfig-mode +1)
+            (setq editorconfig-lisp-use-default-indent t)))
 
 (setq-default ispell-dictionary "en_GB-ise-w_accents")
 (setq ispell-extra-args '("--sug-mode=ultra" "--camel-case"))