Move flycheck init hooks into lang modules

This commit is contained in:
Henrik Lissner 2015-09-28 05:51:46 -04:00
parent 21648b863e
commit a8af7a8df8
8 changed files with 9 additions and 17 deletions

View file

@ -9,16 +9,6 @@
;; Removed checks on idle/change for snappiness
flycheck-check-syntax-automatically '(save mode-enabled idle-change)
flycheck-disabled-checkers '(emacs-lisp-checkdoc make))
(add-hook! (ruby-mode
python-mode
go-mode
php-mode
lua-mode
shell-mode
scss-mode
c++-mode
c-mode) 'flycheck-mode)
:config
(add-unreal-buffer! "^\\*Flycheck.*\\*$")