Currently, on running require('rust-tools').setup(), the dap.adapters.rt_lldb entry is always written to.
It would be nice to be able to configure this elsewhere by passing in false to the dap.adapter entry of setup (or similar), e.g. require('rust-tools').setup({ dap = { adapter = false } }).
The reason for this is that I want to do my DAP configuration all in one file, but this forces me to do my configuration for Rust with my LSP setup. As if I put my DAP configuration elsewhere, a race condition occurs.
Currently, on running
require('rust-tools').setup()
, thedap.adapters.rt_lldb
entry is always written to.It would be nice to be able to configure this elsewhere by passing in
false
to thedap.adapter
entry ofsetup
(or similar), e.g.require('rust-tools').setup({ dap = { adapter = false } })
.The reason for this is that I want to do my DAP configuration all in one file, but this forces me to do my configuration for Rust with my LSP setup. As if I put my DAP configuration elsewhere, a race condition occurs.