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(deprecation): update treesitter function #479

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

rhcher
Copy link
Contributor

@rhcher rhcher commented Apr 9, 2023

see neovim/neovim#22761
vim.treesitter.query.get_node_text is deprecated, use new api instead

also resolve #477

@rhcher rhcher marked this pull request as draft April 9, 2023 10:03
@rhcher rhcher marked this pull request as ready for review April 9, 2023 10:06
@rhcher rhcher marked this pull request as draft April 9, 2023 14:47
@rhcher rhcher marked this pull request as ready for review April 10, 2023 13:52
@Olical
Copy link
Owner

Olical commented Apr 10, 2023

Oh thanks for doing this! Really helpful, I'll merge and may refactor slightly to make it obvious where the "supporting two Neovim versions" code is sitting. Losing track of that sort of thing is scary.

@Olical Olical merged commit 3b20607 into Olical:develop Apr 10, 2023
1 check passed
@rhcher rhcher deleted the fix-treesitter branch April 10, 2023 15:07
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.

None yet

2 participants