Closed duanyuluo closed 1 year ago
u will break a lot of stuff if you add lsps like that. the code you post in the picture will overwrite everything. btw please use codeblocks instead of screenshots and codellb is already provided by the rust pack.. but maybe ur code is overwriting it. remove the code from the first screenshot
u will break a lot of stuff if you add lsps like that. the code you post in the picture will overwrite everything. btw please use codeblocks instead of screenshots and codellb is already provided by the rust pack.. but maybe ur code is overwriting it. remove the code from the first screenshot
I have remove other lsp server and dap config. But this question is still exist. I can debug rust project by F5 F9, but this issue happen while I use :RustHoverAction -> debug, or :RustDebugable .
BTW, this issue is maybe same with https://github.com/simrat39/rust-tools.nvim/issues/244 My lua is so poor... I can't research and debug astronvim's source codes...
thanks a lot @luxus
Please remove the code from the first screenshot
@Uzaaft any idea?
I have remove it. https://github.com/duanyuluo/dotfile/blob/master/nvim/plugins/mason.lua but this issue still exist...
I only remain three pack: go rust python. (ruff_lsp could not install)
rust debugging works fine for me currently. Are you sure that it's not rustrust-cfg.lua that fucks up things at your end?
I will close this issue now. let me known how to modify rust-tool default mapping without disturbing debug :) Thank a lot @Uzaaft
I believe the keys table in lazy.nvim allows you to do that.
:checkhealth report : https://gist.github.com/duanyuluo/e928d4672f7f31a1a185201e55810184
1) import pack.rust in community
2) add "codelldb" in mason.lua
3) codelldb, rust-tool & rust-analyizer are all installed and worked finely.
4) with cmd "rust hover action" to start debug ... that's error...
Do I need to config Dap provider and configuration by myself? ( I have try it, but it's so complex...)