mikavilpas / yazi.nvim

A Neovim Plugin for the yazi terminal file manager
MIT License
211 stars 7 forks source link

LSP renaming support is unreliable #80

Open mikavilpas opened 1 month ago

mikavilpas commented 1 month ago

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 https://github.com/sxyazi/yazi/issues/989 and can be tracked there

chaozwn commented 1 month ago

link: https://github.com/antosha417/nvim-lsp-file-operations?tab=readme-ov-file

mikavilpas commented 1 month ago

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

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.