mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
28 lines
553 B
Nix
28 lines
553 B
Nix
{
|
|
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 = [ ];
|
|
buildFlags = "-tags=unit";
|
|
};
|
|
};
|
|
};
|
|
}
|