diff options
author | Jesús <heckyel@hyperbola.info> | 2018-08-04 16:21:04 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-08-04 16:21:04 -0500 |
commit | 4e0ca9a86555507d981fa89cb82950482bbf3c13 (patch) | |
tree | 943620791f454060e843a40dc118e63b408e8240 /lisp | |
parent | b48545bb7b083822d88e879d0c3e95f08d189981 (diff) | |
download | emacs-personal-4e0ca9a86555507d981fa89cb82950482bbf3c13.tar.lz emacs-personal-4e0ca9a86555507d981fa89cb82950482bbf3c13.tar.xz emacs-personal-4e0ca9a86555507d981fa89cb82950482bbf3c13.zip |
simple syntax of flycheck
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-flycheck.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/init-flycheck.el b/lisp/init-flycheck.el index c046ab2..d099bbe 100644 --- a/lisp/init-flycheck.el +++ b/lisp/init-flycheck.el @@ -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) |