-
Notifications
You must be signed in to change notification settings - Fork 24
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 #565 : Move refactor modules to directory, edit lua files for path change #3
Conversation
Happy #hacktoberfest 😄 ? |
Won't this module change cause the breakage a again for the short moment when users install the update until they restart vim? |
For me, the breakage only happens when I attempt to use the modules and/or enable them. nvim starts fine with the modules disabled. EDIT: re: breakage for users who are caught between an loaded outdated plugin and updated one on disk |
nvim-treesitter-refactor/lua/nvim-treesitter-refactor/highlight_current_scope.lua Lines 33 to 34 in 130d948
you only have to fix these two lines.
|
Reason why I changed more than that was to make it consistent with how https://github.com/nvim-treesitter/nvim-treesitter-textobjects/tree/master/lua laid out the modules. |
Let's let @steelsojka decide. I kept the file structure to not have to rename anything and be able to have both plugins installed in the transition period. |
If the desire is to maintain the
Suggesting that only as a consistency thing. The disruption to users seems minor to me considering
|
@happy-dude I think we want to have a separate namespace so it doesn't collide with the main repo. |
Okay yeah that makes sense; what would you guys like me to do? I can wait for @steelsojka or close/edit this PR with the 2-lined changes in EDIT: wording |
I think is fine changing those two lines so everything starts working again, we can decide if we want to change the structure later :) |
@happy-dude Thanks for this. Sorry I didn't get back in a meaningful time. I will close this PR. Thanks for you contribution! I'm gonna close this in place of your other PR. |
ref: nvim-treesitter/nvim-treesitter/issues/565
Mirror https://github.com/nvim-treesitter/nvim-treesitter-textobjects directory structure
lua/nvim-treesitter/refactor
(instead oflua/nvim-treesitter-refactor
)