Skip to content

How to configure helix to use system wide tree-sitter? #12433

Answered by the-mikedavis
elde-n asked this question in Q&A
Discussion options

You must be logged in to vote

The local source takes a path to a tree-sitter grammar's repository and it expects to find a src/parser.c and maybe src/scanner.c in that directory. It's for specifying source files though and is only considered by hx -g build (not used when loading a parser): you can't point to a compiled parser.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@elde-n
Comment options

@pascalkuthe
Comment options

@elde-n
Comment options

Answer selected by elde-n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12431 on January 06, 2025 19:13.