mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-16 07:28:00 +02:00
plugins/dap: init + extensions + tests (#455)
This commit is contained in:
parent
993cf528b7
commit
d025d14f4e
12 changed files with 967 additions and 0 deletions
27
tests/test-sources/plugins/dap/dap-go.nix
Normal file
27
tests/test-sources/plugins/dap/dap-go.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.dap.extensions.dap-go.enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
plugins.dap.extensions.dap-go = {
|
||||
enable = true;
|
||||
|
||||
dapConfigurations = [
|
||||
{
|
||||
# Must be "go" or it will be ignored by the plugin
|
||||
type = "go";
|
||||
name = "Attach remote";
|
||||
mode = "remote";
|
||||
request = "attach";
|
||||
}
|
||||
];
|
||||
delve = {
|
||||
path = "dlv";
|
||||
initializeTimeoutSec = 20;
|
||||
port = "$\{port}";
|
||||
args = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue