Closed darkseid-is closed 7 months ago
Can you describe the list of steps (along with a sample rust file) to reproduce this issue?
# create new project
cargo new hola
# open file
vim hola/src/main.rs
# add following line to top of file
mod io;
Screenshots
neovim lsp code action
vim-lsp code action
Thank you.
I have committed the change https://github.com/yegappan/lsp/commit/491a32144022a0fa3ac174fea60dfb133779383e to support this. Can you try out the latest version of the plugin?
In the latest version, creating files works but renaming file throws an error Error: Renaming files not supported
.
Can you add the steps for renaming files using the Rust language server?
mod io
place cursor in io
Thanks for the steps. I have committed https://github.com/yegappan/lsp/commit/72301ac00707579f7e85f91c6ba95e3a962123d5 to add support for renaming files. Can you try using the latest version of the plugin?
New Update works as expected.
Thank you for the quick fix and for a great tool.
Getting following error when trying to create file with rust-analyzer