Files
neovim_conf/lua/configs/csharp.lua
2025-10-05 16:58:08 +03:00

24 lines
464 B
Lua

local M = {}
M.setup = function()
local dap = require("dap")
dap.adapters.coreclr = {
type = "executable",
command = "netcoredbg",
args = { "--interpreter=vscode" },
}
dap.configurations = dap.configurations or {}
dap.configurations.cs = {
{
type = "coreclr",
name = "launch",
request = "launch",
program = function()
return vim.fn.input("Path to dll: ", vim.fn.getcwd() .. "/bin/Debug/net8.0/", "file")
end,
},
}
end
return M