Move flycheck init hooks into lang modules
This commit is contained in:
parent
21648b863e
commit
a8af7a8df8
8 changed files with 9 additions and 17 deletions
|
@ -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.*\\*$")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue