You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
The plugin makes a lot of things but all are not wanted everytime.
When I setup the plugin, it breaks my configuration and overrides some mappings.
I only want configuration for dap purpose, and particularly RustDebuggables. How can I disable all other configuration and just provide to my configuration only this command without all the rest loading?
I already have a lsp configuration set up, I don't want this plugin to interact with it
The text was updated successfully, but these errors were encountered:
That is my problem too.
rust-tools takes too many time for setup and give some features which i will not use for sometime.By the way, rust-tools will not change your keymaps so it will be another problem. lsp provide on_attach function to keymap in buffer, so if you use rust-tools , you should config lsp by youself.
like this
locallsp_conf=require("lsp.lsp")
-- import rust-tools plugin safelylocalrust_setup, rt=pcall(require, "rust-tools")
ifnotrust_setupthenreturnendlocallldb_path="/usr/lib/codelldb/"localcodelldb_path=lldb_path.."adapter/codelldb"localliblldb_path=lldb_path.."lldb/lib/liblldb.so"-- The liblldb extension is .so for linux and .dylib for macOSlocalkeymap=vim.keymap-- for concisenessrt.setup({
dap= {
adapter=require("rust-tools.dap").get_codelldb_adapter(codelldb_path, liblldb_path),
},
server= {
capabilities=lsp_conf.capabilities,
on_attach=function(client, bufnr)
localopts= { noremap=true, silent=true, buffer=bufnr }
lsp_conf.on_attach(client, bufnr)
-- Hover actionsvim.keymap.set("n", "<F9>", rt.hover_actions.hover_actions, opts)
end,
settings= { }
}
})
The plugin makes a lot of things but all are not wanted everytime.
When I setup the plugin, it breaks my configuration and overrides some mappings.
I only want configuration for dap purpose, and particularly
RustDebuggables
. How can I disable all other configuration and just provide to my configuration only this command without all the rest loading?I already have a lsp configuration set up, I don't want this plugin to interact with it
The text was updated successfully, but these errors were encountered: