1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/dap-go/default.nix
saygo-png 79d53a50e2 tests: use __empty and __raw
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-05 21:26:13 +00:00

30 lines
595 B
Nix

{
empty = {
plugins.dap-go.enable = true;
};
default = {
plugins.dap-go = {
enable = true;
settings = {
dap_configurations = [
{
# Must be "go" or it will be ignored by the plugin
type = "go";
name = "Attach remote";
mode = "remote";
request = "attach";
}
];
delve = {
path = "dlv";
initialize_timeout_sec = 20;
port = "$\{port}";
args.__empty = { };
build_flags = "-tags=unit";
};
};
};
};
}