euclidianAce / ltreesitter

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

tree-sitter has changed some of the installation paths #15

Open euclidianAce opened 1 year ago

euclidianAce commented 1 year ago

Parsers used to be put in ~/.tree-sitter/bin/ but these paths have changed and this needs to be reflected in ltreesitter.require

euclidianAce commented 1 year ago

https://github.com/tree-sitter/tree-sitter/blob/6ed42747a4e0faee9b65edbbacc86ed0caeae05c/docs/section-4-syntax-highlighting.md

The Tree-sitter CLI automatically creates two directories in your home folder. One holds a JSON configuration file, that lets you > customize the behavior of the CLI. The other holds any compiled language parsers that you use.

These directories are created in the "normal" place for your platform:

On Linux, ~/.config/tree-sitter and ~/.cache/tree-sitter On Mac, ~/Library/Application Support/tree-sitter and ~/Library/Caches/tree-sitter On Windows, C:\Users[username]\AppData\Roaming\tree-sitter and C:\Users[username]\AppData\Local\tree-sitter