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 renaming for Zed #4203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GearsDatapacks
Copy link
Member

Fixes #4201
This PR fixes LS renaming for Zed by using the Range response for the prepareRename request, as opposed to the DefaultBehaviour response, which Zed does not seem to support. I don't think there's any way to unit test this, but I have tested an confirmed that this now works in Zed. It could be worth testing in other editors (Neovim, Helix) as I only have the Language Server set up for Zed and VSCode.

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.

LS rename doesn't work in Zed
1 participant