Clean up some messy flycheck configuration.
This commit is contained in:
parent
f576e455f7
commit
5546ba7eb4
|
@ -1,6 +1,4 @@
|
|||
(require 'flycheck-color-mode-line)
|
||||
|
||||
(setq flycheck-check-syntax-automatically '(save mode-enabled))
|
||||
|
||||
(eval-after-load "flycheck"
|
||||
'(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode))
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
json
|
||||
python
|
||||
ruby))
|
||||
|
||||
(add-hook (intern (concat (symbol-name mode) "-mode-hook"))
|
||||
'flycheck-mode))
|
||||
|
||||
(setq flycheck-check-syntax-automatically (delq 'new-line flycheck-check-syntax-automatically))
|
||||
(setq flycheck-check-syntax-automatically '(save mode-enabled))
|
||||
|
|
Loading…
Reference in a new issue