Rewrote indentation detection

More robust and easier to customize.
This commit is contained in:
Henrik Lissner 2018-07-29 02:54:19 +02:00
parent 088480047c
commit 35e5a47e9f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 31 additions and 17 deletions

View file

@ -41,6 +41,9 @@
("add-hook" "remove-hook")
("add-hook!" "remove-hook!")))
;; variable-width indentation is superior in elisp
(add-to-list 'doom-detect-indentation-excluded-modes 'emacs-lisp-mode nil #'eq)
(add-hook! 'emacs-lisp-mode-hook
#'(;; 3rd-party functionality
auto-compile-on-save-mode doom|enable-delete-trailing-whitespace