dtrt-indent-max-lines = 2000

Reduced from default of 5000 for slightly faster analysis
This commit is contained in:
Henrik Lissner 2019-10-07 16:06:49 -04:00
parent 616dec5b93
commit 774ca43e32
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -321,7 +321,11 @@ files, so we replace calls to `pp' with the much faster `prin1'."
(let ((inhibit-message (not doom-debug-mode)))
(dtrt-indent-mode +1)))))
:config
;; Enable dtrt-indent even in smie modes so that it can update `tab-width',
;; `standard-indent' and `evil-shift-width' there as well.
(setq dtrt-indent-run-after-smie t)
;; Reduced from the default of 5000 for slightly faster analysis
(setq dtrt-indent-max-lines 2000)
;; always keep tab-width up-to-date
(push '(t tab-width) dtrt-indent-hook-generic-mapping-list)