Trigger flycheck only after saving the buffer

This commit is contained in:
coolneng 2021-01-12 23:01:41 +01:00
parent cca6cdef5e
commit c35dc58f00
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 0 deletions

View File

@ -48,3 +48,5 @@
(after! smartparens (show-smartparens-global-mode t)) (after! smartparens (show-smartparens-global-mode t))
;; Disable company mode in Nix ;; Disable company mode in Nix
(setq-hook! 'nix-mode-hook company-idle-delay nil) (setq-hook! 'nix-mode-hook company-idle-delay nil)
;; Trigger flycheck after save
(setq flycheck-check-syntax-automatically '(save))