summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el
index 6ea74e1..775e7f5 100644
--- a/init.el
+++ b/init.el
@@ -1891,7 +1891,11 @@
(use-package sh-script
:config
- (add-hook 'sh-mode-hook #'flyspell-prog-mode))
+ (add-hook 'sh-mode-hook #'flyspell-prog-mode)
+ (add-hook 'sh-mode-hook
+ (lambda ()
+ (setq flycheck-checker 'sh-shellcheck)
+ (flycheck-mode 1))))
(use-package python
:init