Fix editorconfig indent-policing in Lisp modes
Editorconfig in Lisp enforces lisp-indent-offset too strictly, ruining its adaptive indentation. We don't want to disable it complete in those modes however. In all other respects (controlling spaces vs tabs, charset, max_line_length, etc) editorconfig is great.
This commit is contained in:
parent
cf7779138a
commit
853ad98ae9
2 changed files with 5 additions and 3 deletions
|
@ -16,9 +16,6 @@
|
|||
("add-hook" "remove-hook")
|
||||
("add-hook!" "remove-hook!")))
|
||||
|
||||
;; Don't affect lisp indentation (only `tab-width')
|
||||
(set! :editorconfig :remove 'emacs-lisp-mode)
|
||||
|
||||
(defun +emacs-lisp|hook ()
|
||||
(add-hook 'before-save-hook #'delete-trailing-whitespace nil t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue