mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Increase flycheck delay in insert mode
Otherwise it can interrupt your typing.
This commit is contained in:
@ -13,7 +13,10 @@
|
|||||||
(when flycheck-mode
|
(when flycheck-mode
|
||||||
(ignore-errors (flycheck-buffer))
|
(ignore-errors (flycheck-buffer))
|
||||||
nil))
|
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))
|
(global-flycheck-mode +1))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user