-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Major Fork Merge (including upstream breakages and unmerged PRs) #173
Conversation
i still use this plugin so i will keep maintain it. |
That's great to hear 🙂! I've made some significant changes on my fork. Would you like me to start breaking up my fork into smaller PRs for individual review? You may want to take a look at my fork and decide what you definitely don't want, like the new setup method. |
@windwp just to be clear, There is however a big Either way, it's still a good idea to remove the |
Indeed; you can look at nvim-treesitter-context (and nvim-treesitter-textobjects on the |
hi @PriceHiller |
I changed the CI over to mine because I got frustrated when debugging a CI issue 😅 When I get time later I'll restore the previous CI runner and ping you |
See windwp#170 Co-authored-by: nicoqh <[email protected]>
See windwp#169 Signed-off-by: Price Hiller <[email protected]> Co-authored-by: Ystri0n <[email protected]>
See windwp#167 Co-authored-by: "roy.crippen4" <[email protected]>
The only thing that's missing is it doesn't indent properly when you close a tag, but otherwise it closes properly.
PERF: This will impact performance, something to keep an eye on. Prior to this commit, some parsers like php were failing in tests. By forcing a full reparse, the php parser among others get the correct tree.
This deprecates the old setup layout Closes #5
`nvim-treesitter.configs` is going to be removed soon -- directly requiring it will cause an error once it has been removed.
This reverts commit 9b90325.
@windwp this should be ready to go now. You may want to run the CI for this prior to merging -- tests pass on my fork: https://github.com/PriceHiller/nvim-ts-autotag/actions/runs/9147532305 |
Another thing worth review is the deprecation notices I've placed at I can modify those deprecations messages or do something with 'em if you'd like. Just let me know. |
REMINDER TO SELF: Once this gets merged/chunked then merged add an additional commit warning new downstream users to come back to the main repo -- staying on my fork shouldn't be necessary once this is merged. Also -- delete/strikeout many of my "come try the fork messages" as they will no longer be accurate and lead folks away from an active repo. Not a good thing. |
i merge it, thank |
Cool, I'll update my fork to point users to go back over here. As a note, my fork was intended in good-faith in case that wasn't clear. I figured you were burnt-out, didn't have enough time, or something else -- after all, it's a free project. I accepted the invite you sent for collaboration, I'm happy to assist with maintenance. It may be a good idea to ping me with what type of stuff you'd be ok with me merging; I don't want to incorporate changes that are undesired as it's your project first and foremost. Please ping me if there's anything I do that you want rolled back 😄. |
Hello, on the recommendation of @folke (#171 (comment)), I've opened a PR to track against my fork.
I'm opening this PR including all of my changes on my fork I've begun maintaining until you (@windwp ) are back.
This should serve as a diff between the two and once you are back you can review and merge.
If this is too large (which it likely is), please ping me and I can see about chunking my fork up and doing smaller PRs to you so its reviewable.
At the time of writing my fork does the following:
0.9.5
or greaternvim-treesitter
as a hard dependency and instead usesvim.treesitter
make test
downloads all dependencies for the plugin and runs the testsCI is using my own self-hosted runner, so CI changes should not be mergedsetup
, allowing for per filetype customization and global customization.nvim-ts-autotag
to support itnvim-treesitter
setup methods, instead opting forrequire("nvim-ts-autotag").setup({ ... })
vim.keymap.set
for bindingstwig
andblade
Replaced the Sponsor section in the README with the Fork Status -- this should not be merged as isAnd undoubtedly more as time goes on.
Thanks for the plugin, and looking forward to eventually having you back 🙂