diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-12-12 02:17:11 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-12-12 02:17:37 -0500 |
commit | 7849ac4c9f99c8b62112a8ec424f28fe36b78b4b (patch) | |
tree | 3e516d9f3d0efac2dec5d2561d5cf036c289c5b5 | |
parent | 852f16992c54630bb982b761a6051fd49d27de9f (diff) | |
download | emacs.d-7849ac4c9f99c8b62112a8ec424f28fe36b78b4b.tar.gz |
sh-mode: Set shellcheck as flycheck checker
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |