mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove 'append' entry in doom-escape-hook
This commit is contained in:
@ -15,13 +15,12 @@ errors.")
|
|||||||
;; new-line checks are a mote excessive; idle checks are more than enough
|
;; new-line checks are a mote excessive; idle checks are more than enough
|
||||||
(delq! 'new-line flycheck-check-syntax-automatically)
|
(delq! 'new-line flycheck-check-syntax-automatically)
|
||||||
|
|
||||||
(add-hook! 'doom-escape-hook
|
(add-hook! 'doom-escape-hook :append
|
||||||
(defun +flycheck-buffer-h ()
|
(defun +flycheck-buffer-h ()
|
||||||
"Flycheck buffer on ESC in normal mode."
|
"Flycheck buffer on ESC in normal mode."
|
||||||
(when flycheck-mode
|
(when flycheck-mode
|
||||||
(ignore-errors (flycheck-buffer))
|
(ignore-errors (flycheck-buffer))
|
||||||
nil))
|
nil)))
|
||||||
'append)
|
|
||||||
|
|
||||||
(add-hook! 'flycheck-after-syntax-check-hook
|
(add-hook! 'flycheck-after-syntax-check-hook
|
||||||
(defun +flycheck-adjust-syntax-check-eagerness-h ()
|
(defun +flycheck-adjust-syntax-check-eagerness-h ()
|
||||||
|
Reference in New Issue
Block a user