nix-community.nixvim/tests/test-sources/plugins/dap/dap-go.nix

29 lines
553 B
Nix
Raw Normal View History

{
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}";
2024-05-05 19:39:35 +02:00
args = [ ];
2023-11-15 23:28:08 +00:00
buildFlags = "-tags=unit";
};
};
};
}