Add nvim-dap, lldb, llvm bintools, netcoredbg
This commit is contained in:
parent
992afd2245
commit
5bb4a001e2
@ -104,7 +104,8 @@ EOF";
|
|||||||
cmp-buffer
|
cmp-buffer
|
||||||
cmp-path
|
cmp-path
|
||||||
cmp-nvim-lsp-signature-help
|
cmp-nvim-lsp-signature-help
|
||||||
vimspector
|
nvim-dap # Debug Adapter Protocol support
|
||||||
|
#nvim-dap-ui
|
||||||
vimagit
|
vimagit
|
||||||
hoon-vim
|
hoon-vim
|
||||||
(nvim-treesitter.withPlugins (_: expected-parsers))
|
(nvim-treesitter.withPlugins (_: expected-parsers))
|
||||||
@ -180,6 +181,7 @@ EOF";
|
|||||||
octave
|
octave
|
||||||
kubo
|
kubo
|
||||||
dotnet-sdk_7
|
dotnet-sdk_7
|
||||||
|
netcoredbg
|
||||||
powershell
|
powershell
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
datasette
|
datasette
|
||||||
@ -189,6 +191,8 @@ EOF";
|
|||||||
# TODO(jwall): I include these initially for nvim telescope
|
# TODO(jwall): I include these initially for nvim telescope
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
|
lldb
|
||||||
|
llvmPackages.bintools-unwrapped
|
||||||
# TODO add sonic-pi here if it supports the arch
|
# TODO add sonic-pi here if it supports the arch
|
||||||
]) ++ (with pkgs.ocamlPackages; [
|
]) ++ (with pkgs.ocamlPackages; [
|
||||||
dune_3
|
dune_3
|
||||||
|
@ -486,3 +486,41 @@ vim.keymap.set("n", "<Leader>tdb", function()
|
|||||||
vim.cmd("DBUIToggle")
|
vim.cmd("DBUIToggle")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
local dap = require('dap')
|
||||||
|
dap.adapters.lldb = {
|
||||||
|
type = "executable",
|
||||||
|
command = "/run/current-system/sw/bin/lldb",
|
||||||
|
name = "lldb",
|
||||||
|
}
|
||||||
|
|
||||||
|
dap.adapters.coreclr = {
|
||||||
|
type = 'executable',
|
||||||
|
command = '/run/current-system/sw/bin/netcoredbg',
|
||||||
|
args = {'--interpreter=vscode'}
|
||||||
|
}
|
||||||
|
|
||||||
|
dap.configurations.rust = {
|
||||||
|
{
|
||||||
|
name = 'Launch Rust',
|
||||||
|
type = 'lldb',
|
||||||
|
request = 'launch',
|
||||||
|
program = function()
|
||||||
|
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
|
||||||
|
end,
|
||||||
|
cwd = '${workspaceFolder}',
|
||||||
|
stopOnEntry = false,
|
||||||
|
args = {},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
dap.configurations.cs = {
|
||||||
|
{
|
||||||
|
name = "Launch - netcoredbg",
|
||||||
|
type = "coreclr",
|
||||||
|
request = "launch",
|
||||||
|
program = function()
|
||||||
|
return vim.fn.input('Path to dll', vim.fn.getcwd(), 'file')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -36,12 +36,12 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-ge0QKt8Mmq+7YdLpqmFPrTQGrCD4qnST31sdkbaFydY=",
|
"narHash": "sha256-I0oQ+d0VQJ7f+SEZWdSiQfsfgSfGIP5U8hZ0rA4wHOM=",
|
||||||
"path": "/nix/store/zdq6wjlqxwrd05vk17lgx3sr5fy8wn0w-source/nix/base-system",
|
"path": "/nix/store/fk5p4y8fpc1ly46d2c2byca4g20ianwh-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/zdq6wjlqxwrd05vk17lgx3sr5fy8wn0w-source/nix/base-system",
|
"path": "/nix/store/fk5p4y8fpc1ly46d2c2byca4g20ianwh-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user