mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/editorconfig: refactor how we ignore lisp modes
This commit is contained in:
@ -52,9 +52,7 @@ specified by editorconfig."
|
||||
;; Editorconfig makes indentation too rigid in Lisp modes, so tell
|
||||
;; editorconfig to ignore indentation there. The dynamic indentation support
|
||||
;; built into Emacs is superior.
|
||||
(dolist (mode '(emacs-lisp-mode lisp-mode))
|
||||
(delq (assq mode editorconfig-indentation-alist)
|
||||
editorconfig-indentation-alist))
|
||||
(setq editorconfig-lisp-use-default-indent t)
|
||||
|
||||
;;
|
||||
(editorconfig-mode +1))
|
||||
|
Reference in New Issue
Block a user