Closed theCollectiv closed 2 years ago
So, rust-tools uses lspconfig in the background, so you don't need to initialize it on its own. Remove the call to lspconfig and move your server options to opts.server which are passed to rust tools
@theCollectiv check out https://github.com/simrat39/rust-tools.nvim/issues/183#issuecomment-1120232092
Hi,
if I use lldb-vscode + rusttools, the lsp-shortcuts are workingfine dap_rusttools_LanguageExtension4Rust.lua + lldb-vscode:
As soon as I use codelldb + rust-tools.nvim my lsp-keybindings stop working, like they never have been binded. dap_rusttools_LanguageExtension4Rust.lua:
If I use command mode and type these commands (like
: lua vim.lsp.buf.formatting()
), these work fine. But not the keybindings.For better understanding, my nvim-dir looks like this:
My lsp-keybinding (nvim/lua/plugins/lsp/init.lua)
I wonder, if I misconfigured something or if someone else got the same/similar problem to get rusttools + codelldb + lsp-keybindings to work.