ui/modeline: add indent segment

This commit is contained in:
Henrik Lissner 2019-03-03 21:58:32 -05:00
parent 2e4feed1a4
commit 12ddc3c360
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 29 additions and 2 deletions

View file

@ -56,7 +56,7 @@ extension, try to guess one."
specified by editorconfig."
(when (or (gethash 'indent_style props)
(gethash 'indent_size props))
(setq doom-inhibit-indent-detection t)))
(setq doom-inhibit-indent-detection 'editorconfig)))
(add-hook 'editorconfig-after-apply-functions #'+editorconfig|disable-indent-detection)
;; Editorconfig makes indentation too rigid in Lisp modes, so tell