summaryrefslogtreecommitdiff
path: root/settings/setup-flycheck.el
diff options
context:
space:
mode:
Diffstat (limited to 'settings/setup-flycheck.el')
-rw-r--r--settings/setup-flycheck.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/setup-flycheck.el b/settings/setup-flycheck.el
index 764fe36..a050c3c 100644
--- a/settings/setup-flycheck.el
+++ b/settings/setup-flycheck.el
@@ -27,4 +27,6 @@
(global-set-key (kbd "<f2>") 'flyspell-auto-correct-previous-word)
(setq flycheck-clangcheck-analyze t)
+(add-hook 'sh-mode-hook 'flycheck-mode)
+
(provide 'setup-flycheck)