-
Have you read the docs and searched existing issues?
Neovim version (nvim -v)NVIM v0.10.3 Operating system/versionEndeavourOS Output of :checkhealth rustaceanvimrustaceanvim: require("rustaceanvim.health").check()
Checking for Lua dependencies ~
- WARNING dap not installed. Needed for debugging features [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap)
Checking external dependencies ~
- OK rust-analyzer: found rust-analyzer 1.83.0 (90b35a6 2024-11-26)
- OK Cargo: found cargo 1.83.0 (5ffbef321 2024-10-29)
- OK rustc: found rustc 1.83.0 (90b35a623 2024-11-26)
- OK cargo-nextest: found cargo-nextest 0.9.87
- OK lldb: found lldb version 18.1.8
Checking config ~
- OK No errors found in config.
Checking for conflicting plugins ~
- OK No conflicting plugins detected.
Checking for tree-sitter parser ~
- WARNING No tree-sitter parser for Rust detected. Required by 'Rustc unpretty' command.
- OK .vscode/settings.json loaded without errors. How to reproduce the issueIn nvim:
:cd cargo-project-root
:e any-rust-file-of-said-project Expected behaviour
Actual behaviourWith 5.20.1:
With 5.20.0:
With 5.19.2, everything I care for works, e.g. expected behavior. The minimal config used to reproduce this issue.vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"mrcjkb/rustaceanvim",
version = '^5',
-- version = "5.19.2",
init = function()
-- Configure rustaceanvim here
vim.g.rustaceanvim = {}
end,
lazy = false,
},
},
}) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hey 👋 I just tried to reproduce this with the minimal config you posted (and |
Beta Was this translation helpful? Give feedback.
-
Yeah, I just tried out a docker image of my OS and it works with So I can only think of a problem in my specific setup. But I have no idea what it could be. Any ideas what to test what changed between 5.19.2 and 5.20? Anyway, as long as 5.19.2 works, while not ideal, I can work with that. |
Beta Was this translation helpful? Give feedback.
-
Since version 5.20.0, rustaceanvim tries to auto-detect a running |
Beta Was this translation helpful? Give feedback.
-
That was (kind of) it! I had an old (0.2.2) ra-multiplex installation and when the server ran ( vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
require('lazy.minit').repro {
spec = {
{
'mrcjkb/rustaceanvim',
version = '^5',
init = function()
-- Configure rustaceanvim here
vim.g.rustaceanvim = {
server = {
ra_multiplex = {
enable = false,
}
},
}
end,
lazy = false,
},
},
} solved the issue. Thanks 🙂. Should I close this issue with that workaround or do you want to keep it, e.g. trying to catch my case in your plugin? |
Beta Was this translation helpful? Give feedback.
-
I'll convert this to a discussion and mark your comment as the answer 😃 |
Beta Was this translation helpful? Give feedback.
That was (kind of) it! I had an old (0.2.2) ra-multiplex installation and when the server ran (
ra-multiplex-server
in that version), my problems appeared. I am still not sure who on my system still started ra-multiplex since I stopped using it an eternity ago. However, killing the server, updating ra-multiplex to the most recent version (0.2.5) or following your tip with following config