mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
flycheck: Don't check buffer when entering normal mode
This commit is contained in:
@ -19,8 +19,6 @@
|
|||||||
:n "k" 'flycheck-error-list-previous-error
|
:n "k" 'flycheck-error-list-previous-error
|
||||||
:n "RET" 'flycheck-error-list-goto-error))
|
:n "RET" 'flycheck-error-list-goto-error))
|
||||||
|
|
||||||
;; Check buffer when normal mode is entered
|
|
||||||
(add-hook! evil-normal-state-entry 'narf*flycheck-buffer)
|
|
||||||
;; And on ESC in normal mode.
|
;; And on ESC in normal mode.
|
||||||
(advice-add 'evil-force-normal-state :after 'narf*flycheck-buffer)
|
(advice-add 'evil-force-normal-state :after 'narf*flycheck-buffer)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user