Indent elisp plists more sensibly

This commit is contained in:
Henrik Lissner 2020-04-30 15:54:36 -04:00
parent 1152b2c7bc
commit a634e2c812
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 47 additions and 1 deletions

View file

@ -43,7 +43,9 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
mode-name "Elisp"
;; Don't treat autoloads or sexp openers as outline headers, we have
;; hideshow for that.
outline-regexp +emacs-lisp-outline-regexp)
outline-regexp +emacs-lisp-outline-regexp
;; Fixed indenter that intends plists sensibly.
lisp-indent-function #'+emacs-lisp-indent-function)
;; variable-width indentation is superior in elisp
(add-to-list 'doom-detect-indentation-excluded-modes 'emacs-lisp-mode nil #'eq)