diff options
-rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el index 1e04332..b7de479 100644 --- a/init.el +++ b/init.el | |||
@@ -482,7 +482,7 @@ | |||
482 | 482 | ||
483 | (use-package flymake-shellcheck | 483 | (use-package flymake-shellcheck |
484 | :when (executable-find "shellcheck") | 484 | :when (executable-find "shellcheck") |
485 | :hook sh-mode) | 485 | :hook (sh-mode . flymake-shellcheck-load)) |
486 | 486 | ||
487 | (when (executable-find "shfmt") | 487 | (when (executable-find "shfmt") |
488 | (reformatter-define sh-format | 488 | (reformatter-define sh-format |