add config

This commit is contained in:
nik
2025-10-05 16:58:08 +03:00
parent 61fc1ec1ba
commit 6b1626bb41
19 changed files with 1022 additions and 0 deletions

23
lua/configs/csharp.lua Normal file
View File

@@ -0,0 +1,23 @@
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