docs(tree-sitter): add doctor checks for flag

add in a check ala lsp, this has been applied to every module with tree
sitter support
This commit is contained in:
Jeetaditya Chatterjee 2021-10-19 19:26:26 +01:00
parent 06ed5ade3f
commit 547860e847
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91
18 changed files with 75 additions and 0 deletions

View file

@ -3,3 +3,7 @@
(when (and (featurep! :completion ivy)
(not (executable-find "jq")))
(warn! "Couldn't find jq. counsel-jq won't work." ))
(assert! (or (not (featurep! +tree-sitter))
(featurep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")