Move flycheck setq to :init
block
Allow the user to override the settings in dotspacemacs/config
This commit is contained in:
parent
336aba6856
commit
31deb94d7f
|
@ -1105,13 +1105,13 @@ which require an initialization must be listed explicitly in the list.")
|
|||
(defun spacemacs/init-flycheck ()
|
||||
(use-package flycheck
|
||||
:defer t
|
||||
:init
|
||||
(setq flycheck-check-syntax-automatically '(save mode-enabled)
|
||||
flycheck-standard-error-navigation nil)
|
||||
:config
|
||||
(progn
|
||||
(spacemacs|diminish flycheck-mode " Ⓕ" " F")
|
||||
|
||||
(setq flycheck-check-syntax-automatically '(save mode-enabled)
|
||||
flycheck-standard-error-navigation nil)
|
||||
|
||||
(defun spacemacs/mode-line-flycheck-info-toggle ()
|
||||
"Toggle display of flycheck info."
|
||||
(interactive)
|
||||
|
|
Loading…
Reference in a new issue