simple syntax of flycheck
This commit is contained in:
parent
b48545bb7b
commit
4e0ca9a865
@ -1,7 +1,10 @@
|
||||
(require-package 'flycheck)
|
||||
(add-hook 'after-init-hook 'global-flycheck-mode)
|
||||
|
||||
;; Disable on emacs-lisp
|
||||
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
|
||||
;; Enable for only languages
|
||||
;;(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
|
||||
(add-hook 'c++-mode-hook 'flycheck-mode)
|
||||
(add-hook 'html-mode-hook 'flycheck-mode)
|
||||
(add-hook 'sh-mode-hook 'flycheck-mode)
|
||||
;; (add-hook 'after-init-hook 'global-flycheck-mode)
|
||||
|
||||
(provide 'init-flycheck)
|
||||
|
Loading…
x
Reference in New Issue
Block a user