fix: rust dap adapter installation

This commit is contained in:
Andreas Gerlach 2023-07-23 10:27:28 +02:00
parent 142e6bec20
commit 5c35604ebf

View file

@ -31,13 +31,17 @@ return {
-- Ensure Rust debugger is installed
{
"williamboman/mason.nvim",
"mfussenegger/nvim-dap",
optional = true,
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "codelldb" })
end
end,
dependencies = {
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "codelldb" })
end,
},
},
},
{