From 31deb94d7fbdb5e67fa0428b4f15cd1e07847149 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 30 Mar 2015 10:47:52 -0400 Subject: [PATCH] Move flycheck setq to `:init` block Allow the user to override the settings in dotspacemacs/config --- spacemacs/packages.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index f0af9b991..93568177f 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -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)