From bcb89ffd37003c3ee49e6eca8cfe5a24481b6f6f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 23 Sep 2018 18:10:17 -0700 Subject: [emacs] Add flycheck. --- configs/rcs/emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index fb30546..6c59030 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -283,6 +283,10 @@ ;;; prog mode +(use-package flycheck + :config + (global-flycheck-mode)) + (use-package lisp-mode :ensure nil :bind @@ -309,6 +313,7 @@ (use-package scala-mode) (use-package sh-script + :after (flycheck) :mode ("bashrc" . sh-mode) :config (defun set-sh-mode-indent () -- cgit 1.4.1