docs(tree-sitter): add doc checks for langs
langs being: - elixir - nix - zig
This commit is contained in:
parent
7105292eed
commit
908ea8de5f
3 changed files with 13 additions and 0 deletions
6
modules/lang/elixir/doctor.el
Normal file
6
modules/lang/elixir/doctor.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||
;;; lang/elixir/doctor.el
|
||||
|
||||
(assert! (or (not (featurep! +tree-sitter))
|
||||
(featurep! :tools tree-sitter))
|
||||
"This module requires (:tools tree-sitter)")
|
|
@ -7,3 +7,6 @@
|
|||
(unless (executable-find "nixfmt")
|
||||
(warn! "Couldn't find nixfmt. nix-format-buffer won't work."))
|
||||
|
||||
(assert! (or (not (featurep! +tree-sitter))
|
||||
(featurep! :tools tree-sitter))
|
||||
"This module requires (:tools tree-sitter)")
|
||||
|
|
|
@ -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 "zig")
|
||||
(warn! "Couldn't find zig binary"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue