Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
euclidianAce opened this issue Dec 31, 2022 · 1 comment
Open

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

euclidianAce opened this issue Dec 31, 2022 · 1 comment

Comments

@euclidianAce
Copy link
Owner

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

@euclidianAce
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant