Closed Trard closed 1 year ago
This bug causes only if a directory with the same name as the module exists.
Steps to reproduce bug:
src/main.rs
in neovim.bar
.But if you try to rename mod foo
, it will be renamed as expected.
Looks like a neovim issue. Does this persist with lspconfig's rust-analyzer config?
Does this persist with lspconfig's rust-analyzer config?
Yes, this persists with lspconfig's rust-analyzer config
Should I open issue in neovim?
Does this persist with lspconfig's rust-analyzer config?
Yes, this persists with lspconfig's rust-analyzer config
Should I open issue in neovim?
Yep
When I try to rename a rust module using
vim.lsp.buf.rename
(in .rs file) I get the followingMinimal config:
nvim version:
NVIM v0.9.0-dev
rust-analyzer version:0.3.1229-standalone