docs(sh): add doctor check for shfmt
This commit is contained in:
parent
e478f597cb
commit
5bbc299b8b
1 changed files with 4 additions and 0 deletions
|
@ -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)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue