euclidianAce / ltreesitter

Standalone tree sitter bindings for the Lua language
MIT License
85 stars 4 forks source link

Unable to load parser for c help #5

Closed morphykuffour closed 2 years ago

morphykuffour commented 2 years ago

Hello I wanted to experiment with lua's bindings for treesitter but the demo in the readme does not work. I don't know where to find or generate the C shared object file. Any help would be appreciated. Please see attached screenshoot.

image

euclidianAce commented 2 years ago

Tree sitter grammars are separate libraries that will need to be installed independently.

The c parser can be found here and will need to be built and installed with the tree sitter cli.

ltreesitter will then look in those paths listed in the error (although it looks like the error message is missing a space)

If you install it and have further issues feel free to report them here!