mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
docs(sh): add doctor check for shfmt
This commit is contained in:
committed by
Henrik Lissner
parent
e478f597cb
commit
5bbc299b8b
@ -4,6 +4,10 @@
|
|||||||
(unless (executable-find "shellcheck")
|
(unless (executable-find "shellcheck")
|
||||||
(warn! "Couldn't find shellcheck. Shell script linting will not work")))
|
(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))
|
(assert! (or (not (featurep! +tree-sitter))
|
||||||
(featurep! :tools tree-sitter))
|
(featurep! :tools tree-sitter))
|
||||||
"This module requires (:tools tree-sitter)")
|
"This module requires (:tools tree-sitter)")
|
||||||
|
Reference in New Issue
Block a user