mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: rust dap adapter installation
This commit is contained in:
parent
142e6bec20
commit
5c35604ebf
1 changed files with 10 additions and 6 deletions
|
|
@ -31,14 +31,18 @@ return {
|
||||||
|
|
||||||
-- Ensure Rust debugger is installed
|
-- Ensure Rust debugger is installed
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"mfussenegger/nvim-dap",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"williamboman/mason.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
if type(opts.ensure_installed) == "table" then
|
opts.ensure_installed = opts.ensure_installed or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "codelldb" })
|
vim.list_extend(opts.ensure_installed, { "codelldb" })
|
||||||
end
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"simrat39/rust-tools.nvim",
|
"simrat39/rust-tools.nvim",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue