yegappan / lsp

Language Server Protocol (LSP) plugin for Vim9
MIT License
458 stars 49 forks source link

LspRename fails to rename symbols across project. #452

Closed darkseid-is closed 6 months ago

darkseid-is commented 7 months ago

screenshot_1707391462

The above screenshot is the result of renaming a module in alacritty.

yegappan commented 7 months ago

Are the files mentioned in the error messages present in those directories? Are you using the rust language server? Can you describe the list of steps to reproduce this issue?

darkseid-is commented 7 months ago

yes all the files are present. No changes were made to the repo.

steps to reproduce

  1. clone the repo.
  2. open alacritty/alacritty/src/main.rs
  3. change any mod * to new name using LspRename.

Lsp: Rust-analyzer

yegappan commented 7 months ago

I have committed https://github.com/yegappan/lsp/commit/500947f69f3d9e818cd7ed7260f2541bfb353644 to address this. Can you try the latest version of the plugin?

darkseid-is commented 6 months ago

New Update works as expected.

Thank you for the quick fix and for a great tool.