mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
chore: simplify get netcoredbg path
This commit is contained in:
parent
84e92520fe
commit
a802068b78
1 changed files with 2 additions and 1 deletions
|
|
@ -68,12 +68,13 @@ return {
|
|||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
opts = function()
|
||||
local dap = require("dap")
|
||||
if not dap.adapters["netcoredbg"] then
|
||||
require("dap").adapters["netcoredbg"] = {
|
||||
type = "executable",
|
||||
command = require("mason-registry").get_package("netcoredbg"):get_install_path() .. "/netcoredbg",
|
||||
command = vim.fn.exepath("netcoredbg"),
|
||||
args = { "--interpreter=vscode" },
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue