1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/plugins/by-name/dap-go/default.nix
saygo-png 044a9d1ab8 plugins/dap-go: remove settings declarations
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-04 22:00:38 +00:00

24 lines
632 B
Nix

{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "dap-go";
package = "nvim-dap-go";
description = "An extension for nvim-dap providing configurations for launching go debugger.";
maintainers = [ lib.maintainers.khaneliman ];
# Manually supplied to nvim-dap config module
callSetup = false;
extraConfig = cfg: {
plugins.dap = {
enable = true;
extensionConfigLua = ''
require("dap-go").setup(${lib.nixvim.toLuaObject cfg.settings})
'';
};
};
# NOTE: Renames added in https://github.com/nix-community/nixvim/pull/2897 (2025-01-26)
imports = [ ./deprecations.nix ];
}