Closed xzbdmw closed 5 months ago
nvim 0.95 and 0.10 all the same reproduce:
return {
{ "mfussenegger/nvim-dap" },
{
"leoluz/nvim-dap-go",
config = function()
require("dap-go").setup()
end,
}
}
in plugin/rust.lua add
return {
"mrcjkb/rustaceanvim",
-- version = "^3", -- Recommended
ft = { "rust" },
}
and open a simple rust project do gd
nvim-dap by itself doesn't do any actions on loading buffers.
Maybe rustaceanvim
is loading some debug configurations via cargo if nvim-dap is available. But that's then up to rustaceanvim
- nothing I can do about that in nvim-dap
Debug adapter definition and debug configuration
Debug adapter version
No response
Steps to Reproduce
a simple rust project perform gd on a crate or stdlib wait for one second to open the buffer but from then on go to def works instantly disable the plugin make even first goto def instantly It tooks me one hour to one-by-one disable plugin to find the problem
Expected Result
instantly open buffer
Actual Result
very laggy