feature/syntax-checker: fix permission errors in special/RO buffers
This commit is contained in:
parent
8f563ebd44
commit
4eafbf9078
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
(after! evil
|
||||
;; Flycheck buffer on ESC in normal mode.
|
||||
(defun +syntax-checkers|flycheck-buffer ()
|
||||
(if flycheck-mode (flycheck-buffer)))
|
||||
(if flycheck-mode (ignore-errors (flycheck-buffer))))
|
||||
(add-hook '+evil-esc-hook #'+syntax-checkers|flycheck-buffer)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue