Skip to content

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.
@clason clason merged commit eae0d8f into master Sep 30, 2024
24 checks passed
@clason clason deleted the fix/treesitter branch September 30, 2024 06:56
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