summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 16:22:22 +0200
committerAlan Pearce2024-05-10 16:22:22 +0200
commit39a0b29655eb2314db1f7914f751595742e32d2d (patch)
treec0c9d3c2a689318c7b2e7432f023d8b1bc14cefd /user/emacs
parentf77930417978b41435b950bb98158840ec2a76c5 (diff)
downloadnixfiles-39a0b29655eb2314db1f7914f751595742e32d2d.tar.lz
nixfiles-39a0b29655eb2314db1f7914f751595742e32d2d.tar.zst
nixfiles-39a0b29655eb2314db1f7914f751595742e32d2d.zip
emacs: fix editorconfig setting wrong indent settings in elisp
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 7635000f..ce4f011b 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -974,7 +974,9 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 
 (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"))