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

feat!: remove dependency on nvim-treesitter #28

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

mrcjkb
Copy link
Contributor

@mrcjkb mrcjkb commented Jun 22, 2024

nvim-treesitter is removing its API and has upstreamed most of it to core.

See also: nvim-treesitter/nvim-treesitter#4767

This PR removes the dependency on nvim-treesitter, and instead uses Neovim's core API.

It seems like it only actually used nvim-treesitter to check for the presence of parsers (?).

This bumps the minimum required Neovim version to 0.9.

@Eandrju
Copy link
Owner

Eandrju commented Jun 30, 2024

Thanks! I've tested it locally and it doesn't seem to catch that I'm missing javascript parser, but vim.treesitter.language.inspect() does. Thanks for raising this.

@Eandrju Eandrju merged commit de19243 into Eandrju:main Jun 30, 2024
2 of 6 checks passed
@mrcjkb mrcjkb deleted the tree-sitter-api branch June 30, 2024 18:29
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

Successfully merging this pull request may close these issues.

2 participants