Repository navigation
Migrate to nvim-treesitter 'main' - #3313
Conversation
bfef671 to
224b888
Compare
It's definitely less clean than it being handled for us, that's for sure. I'm happy to make any tweaks you'd like but I get the frustration with needing to do it at all.
Is this part of the release plan that has been laid out for |
i had talked with astrovim's dev and he told it'll take months for that plugin to keep main branch as default so we got a lot of time |
Definitely. I mostly did this to see just how bad the migration would be, and wanted to contribute it back, but no hard feelings if you'd rather wait out a cleaner solution. |
are you sure? i still see none of old syntax been used in its readme |
ensure_installed? |
|
@Coding4Hours I don't think that's the case. The README still indicates a different method for installing LSPs |
|
main is the default branch now, i'll move to it this weekend 🚀 |
|
@siduck Great! Would you prefer I rebase this PR or would you like to build your own approach? I know there were aspects of this PR you weren't happy about, given |
dont worry, I'll let you know about my changes and we'll update your PR accordingly 😅 |
Cool. Looks like the rebase was reasonably straightforward, but I'm also happy to change whatever :) |
|
Hrmmm, I did find a small bug in this when trying to comment some lines Will see if I can figure this out sometime this week |
|
i'll make my changes now. use the dev branch and see |
|
@siduck Running EDIT, ah this may be on me, for some reason |
remove treesitter by pressing "x" in your Lazy window and remove your lazylock file |
|
also do join my discord/telegram/matrix server if you have any of those accounts! discussing their feels easier 😁 @ollien |
|
@siduck Is there any update here? When can we expect this to merge? 🙇 |
My apologies for delaying a lot! By Today 🥺 |

This is my best stab at moving the nvim-treesitter integration to use the 'main' branch. I can personally say I haven't found any problems yet, but that doesn't mean there aren't any!
Grammars are still installed with the users' existing
ensure_installedconfig entry. I thought about having this be something inchadrc, but that seems to be primarily used by theuiplugin, not by the main plugin, and this helps maintain some level of backwards compatibility.I have a couple questions for you
The big thing I wasn't able to cover in this transition is any migrations involving plugins that use
nvim-treesitter; the new version doesn't manage them anymore (From the maintainer:)