Skip to content

Conversation

kylechui
Copy link
Owner

The vim.treesitter.language.get_lang function was added in Neovim v0.111, so we should not assume it to exist. The implementation is pretty short/simple so we just copy it into our codebase.

The `vim.treesitter.language.get_lang` function was added in Neovim
v0.11[1], so we should not assume it to exist. The implementation is
pretty short/simple so we just copy it into our codebase.

[1]: https://neovim.io/doc/user/news-0.11.html
@kylechui
Copy link
Owner Author

Related: #404

@kylechui kylechui merged commit 617fee0 into main Aug 28, 2025
4 checks passed
@kylechui kylechui deleted the fix/query-language branch August 28, 2025 01:28
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