mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 01:38:40 +02:00
31 lines
587 B
Nix
31 lines
587 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 = [ ];
|
||
|
build_flags = "-tags=unit";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|