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

fix(treesitter): adapt to upstream change #3308

Merged
merged 1 commit into from
Sep 30, 2024
Merged

fix(treesitter): adapt to upstream change #3308

merged 1 commit into from
Sep 30, 2024

Conversation

clason
Copy link
Contributor

@clason clason commented Sep 29, 2024

In Nvim 0.11, vim.treesitter.language.add() returns true on success or nil,errmsg on failure instead of throwing an error. This allows using add() directly as a check for available treesitter parsers.

See neovim/neovim#30379

In Nvim 0.11, `vim.treesitter.language.add()` returns `true` on success
or `nil,errmsg` on failure instead of throwing an error.
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.

1 participant