Remove 'append' entry in doom-escape-hook
This commit is contained in:
parent
a365b1cf9d
commit
8b94f325b2
1 changed files with 2 additions and 3 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue