Shamelessly copy some flycheck configuration from Doom Emacs

This commit is contained in:
2024-10-16 16:50:40 +01:00
parent dcdce9e255
commit 2f4dbc69fb

View File

@@ -2731,7 +2731,11 @@ program, particularly one which isn't finished yet.
(display-buffer-at-bottom)
(window-height . 0.25))
:init
(setq-default flycheck-check-syntax-automatically '(save idle-change new-line mode-enabled))
(setq-default flycheck-check-syntax-automatically
'(save idle-change mode-enabled)
flycheck-idle-change-delay 1.0
flycheck-buffer-switch-check-intermediate-buffers t
flycheck-display-errors-delay 0.25)
:config
(with-eval-after-load "evil-collection"
(evil-collection-flycheck-setup)))