docs(sh): add doctor check for shfmt

This commit is contained in:
Dejan Benedik 2022-07-12 06:38:47 +02:00 committed by Henrik Lissner
parent e478f597cb
commit 5bbc299b8b

View file

@ -4,6 +4,10 @@
(unless (executable-find "shellcheck")
(warn! "Couldn't find shellcheck. Shell script linting will not work")))
(when (featurep! :editor format)
(unless (executable-find "shfmt")
(warn! "Couldn't find shfmt. Code formatting will not work.")))
(assert! (or (not (featurep! +tree-sitter))
(featurep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")