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
18 changed files with 75 additions and 0 deletions

View File

@ -5,6 +5,10 @@
(featurep! :tools lsp))
"This module requires (:tools lsp)")
(assert! (or (not (featurep! +tree-sitter))
(featurep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(unless (executable-find "rustc")
(warn! "Couldn't find rustc binary"))