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

LSP renaming support is unreliable #80

Open
mikavilpas opened this issue May 21, 2024 · 2 comments
Open

LSP renaming support is unreliable #80

mikavilpas opened this issue May 21, 2024 · 2 comments
Labels

Comments

@mikavilpas
Copy link
Owner

Typescript's LSP (tsserver) seems to handle renames quite well.

Rust-analyzer seems to be capable of handling renames for the current file well, but not at all for other files besides the current file.

In my testing, neo-tree was able to handle renames quite reliably for all cases.

This might be caused by the fact that yazi renames the files before yazi.nvim can notify the LSP that it willRenameFiles. This might require deeper integration to be implemented in yazi.

A discussion for deeper integration has been started here sxyazi/yazi#989 and can be tracked there

@chaozwn
Copy link

chaozwn commented May 23, 2024

@mikavilpas
Copy link
Owner Author

Great idea, thank you! I will try that out later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants