Error on load: nvim-treesitter.ts_utils.is_in_node_range is deprecated: use vim.treesitter.is_in_node_range
2KAbhishek opened this issue · 6 comments
Seeing this deprecation message on load, also not getting it to function as shown in the demo
nvim-treesitter.ts_utils.is_in_node_range is deprecated: use vim.treesitter.is_in_node_range
I'm using Lazy.nvim and have added the configs:
endwise = {
enable = true,
},
Expected behavior
endwise loads without errors and works
Additional context
Add any other context about the problem here.
Will open a new one with after more debugging
@2KAbhishek Any luck with this? I'm using LazyVim and while I don't see this notification, this plugin still doesn't work for me.
@LandonSchropp make a minimal init.lua
@LandonSchropp I was able to make it work after removing tpope/endwise from my list
Though it doesn't work for me in lua, only ruby
@2KAbhishek Unfortunately I don't have tpope/endwise
in my list. 😞
@RRethy Good call. I tried to repro, but when I created a minimal config I didn't see any problems anymore. After switching back to my regular config, everything seems to be working now, even though the config hasn't changed. Maybe something updated, or Lazy.nvim was out of sync. ¯\_(ツ)_/¯
I'll open an issue if I run into a reproducable problem. Thanks!