mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/dap-go: remove settings declarations
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
de1760ddfd
commit
044a9d1ab8
1 changed files with 0 additions and 30 deletions
|
|
@ -2,12 +2,6 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) types;
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
|
||||
dapHelpers = import ../dap/dapHelpers.nix { inherit lib; };
|
||||
in
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "dap-go";
|
||||
package = "nvim-dap-go";
|
||||
|
|
@ -15,30 +9,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
|
||||
settingsOptions = {
|
||||
dap_configurations = lib.nixvim.mkNullOrOption (types.listOf dapHelpers.configurationType) ''
|
||||
Additional dap configurations.
|
||||
See `:h dap-configuration` for more detail.
|
||||
'';
|
||||
|
||||
delve = {
|
||||
path = defaultNullOpts.mkStr "dlv" "The path to the executable dlv which will be used for debugging.";
|
||||
|
||||
initialize_timeout_sec = defaultNullOpts.mkUnsignedInt 20 "Time to wait for delve to initialize the debug session.";
|
||||
|
||||
port = defaultNullOpts.mkStr "$${port}" ''
|
||||
A string that defines the port to start delve debugger.
|
||||
|
||||
Defaults to string "$${port}" which instructs dap
|
||||
to start the process in a random available port.
|
||||
'';
|
||||
|
||||
args = lib.nixvim.mkNullOrOption (types.listOf types.str) "Additional args to pass to dlv.";
|
||||
|
||||
build_flags = defaultNullOpts.mkStr "" "Build flags to pass to dlv.";
|
||||
};
|
||||
};
|
||||
|
||||
# Manually supplied to nvim-dap config module
|
||||
callSetup = false;
|
||||
extraConfig = cfg: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue