mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 09:36:10 +02:00
plugins/dap: move to by-name
This commit is contained in:
parent
52f125679f
commit
672b9e1ceb
12 changed files with 0 additions and 2 deletions
28
tests/test-sources/plugins/by-name/dap/dap-go.nix
Normal file
28
tests/test-sources/plugins/by-name/dap/dap-go.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
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