ui/modeline: add indent segment
This commit is contained in:
parent
2e4feed1a4
commit
12ddc3c360
2 changed files with 29 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue