From aaa86c4187942abc0869a133e917dbf32b95bb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 26 Oct 2018 23:27:56 -0500 Subject: =?UTF-8?q?single=20syntax=20with=20=C2=ABuse-package=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lisp/init-flycheck.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lisp/init-flycheck.el') diff --git a/lisp/init-flycheck.el b/lisp/init-flycheck.el index 6619782..3ea3957 100644 --- a/lisp/init-flycheck.el +++ b/lisp/init-flycheck.el @@ -1,12 +1,12 @@ -(use-package flycheck) - -;; 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 'js-mode-hook 'flycheck-mode) -(add-hook 'php-mode-hook 'flycheck-mode) -;; (add-hook 'after-init-hook 'global-flycheck-mode) +(use-package flycheck + ;; Enable for only languages + :init + ;; (add-hook 'after-init-hook 'global-flycheck-mode) + (add-hook 'c++-mode-hook 'flycheck-mode) + ;; (add-hook 'emacs-lisp-mode-hook 'flycheck-mode) + (add-hook 'html-mode-hook 'flycheck-mode) + (add-hook 'js-mode-hook 'flycheck-mode) + (add-hook 'php-mode-hook 'flycheck-mode) + (add-hook 'sh-mode-hook 'flycheck-mode)) (provide 'init-flycheck) -- cgit v1.2.3