mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 03:50:09 +02:00
plugins/dap-go: migrate to mkNeovimPlugin
This commit is contained in:
parent
4d1bd375c7
commit
6ff7127291
6 changed files with 131 additions and 98 deletions
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue