Add 'old-conf/' from commit '62a64a79a8'
git-subtree-dir: old-conf git-subtree-mainline:4667974392git-subtree-split:62a64a79a8
This commit is contained in:
commit
83de52d5db
195 changed files with 13408 additions and 0 deletions
25
old-conf/hm-modules/nvim/config/lua/plugin/dap.lua
Normal file
25
old-conf/hm-modules/nvim/config/lua/plugin/dap.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
local dap = require('dap')
|
||||
dap.adapters.coreclr = {
|
||||
type = 'executable',
|
||||
command = '/nix/var/nix/profiles/per-user/ragon/home-manager/home-path/bin/netcoredbg', -- TODO this is a gross hack, please fix
|
||||
args = {'--interpreter=vscode'}
|
||||
}
|
||||
dap.configurations.cs = {
|
||||
{
|
||||
type = "coreclr",
|
||||
name = "launch - netcoredbg",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input('Path to dll', vim.fn.getcwd() .. '/bin/Debug/', 'file')
|
||||
end,
|
||||
},
|
||||
{
|
||||
type = "coreclr",
|
||||
name = "attach - netcoredbg",
|
||||
mode = "local",
|
||||
request = "attach",
|
||||
processId = require("dap.utils").pick_process,
|
||||
},
|
||||
}
|
||||
|
||||
require'dapui'.setup {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue