merge: pull request #5401 from jeetelongname/tree-sitter
This commit is contained in:
commit
173396a963
52 changed files with 515 additions and 24 deletions
|
@ -30,3 +30,6 @@
|
|||
"f" #'zig-format-buffer
|
||||
"r" #'zig-run
|
||||
"t" #'zig-test-buffer))
|
||||
|
||||
(eval-when! (featurep! +tree-sitter)
|
||||
(add-hook! 'zig-mode-local-vars-hook #'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