plugins/dap-go: migrate to mkNeovimPlugin

This commit is contained in:
Austin Horstman 2025-01-26 13:14:13 -06:00
parent 4d1bd375c7
commit 6ff7127291
No known key found for this signature in database
6 changed files with 131 additions and 98 deletions

View file

@ -0,0 +1,30 @@
{
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";
};
};
};
};
}