Increase flycheck delay in insert mode

Otherwise it can interrupt your typing.
This commit is contained in:
Henrik Lissner 2019-01-14 00:51:25 -05:00
parent d7f10cbcbd
commit 500519fe00
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -13,7 +13,10 @@
(when flycheck-mode
(ignore-errors (flycheck-buffer))
nil))
(add-hook 'doom-escape-hook #'+syntax-checkers|flycheck-buffer t))
(add-hook 'doom-escape-hook #'+syntax-checkers|flycheck-buffer t)
(setq-hook! 'evil-insert-state-entry-hook flycheck-idle-change-delay 1.75)
(setq-hook! 'evil-insert-state-exit-hook flycheck-idle-change-delay 0.5))
(global-flycheck-mode +1))