plugins/dap (dapHelpers): internal rename configurationOption -> configurationType

This commit is contained in:
Gaetan Lepage 2025-03-20 14:24:22 +01:00 committed by Gaétan Lepage
parent c9597b37d8
commit 21e8b57a11
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
maintainers = [ lib.maintainers.khaneliman ]; maintainers = [ lib.maintainers.khaneliman ];
settingsOptions = { settingsOptions = {
dap_configurations = lib.nixvim.mkNullOrOption (types.listOf dapHelpers.configurationOption) '' dap_configurations = lib.nixvim.mkNullOrOption (types.listOf dapHelpers.configurationType) ''
Additional dap configurations. Additional dap configurations.
See `:h dap-configuration` for more detail. See `:h dap-configuration` for more detail.
''; '';

View file

@ -35,7 +35,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
type = types.str; type = types.str;
}; };
customConfigurations = mkNullOrOption (types.listOf dapHelpers.configurationOption) "Custom python configurations for dap."; customConfigurations = mkNullOrOption (types.listOf dapHelpers.configurationType) "Custom python configurations for dap.";
resolvePython = defaultNullOpts.mkLuaFn null '' resolvePython = defaultNullOpts.mkLuaFn null ''
Function to resolve path to python to use for program or test execution. Function to resolve path to python to use for program or test execution.

View file

@ -91,7 +91,7 @@ rec {
is used. A use-case for this is starting an adapter asynchronous. is used. A use-case for this is starting an adapter asynchronous.
''; '';
configurationOption = types.submodule { configurationType = types.submodule {
freeformType = types.attrs; freeformType = types.attrs;
options = { options = {

View file

@ -28,7 +28,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
}; };
configurations = configurations =
lib.nixvim.mkNullOrOption (with types; attrsOf (listOf dapHelpers.configurationOption)) lib.nixvim.mkNullOrOption (with types; attrsOf (listOf dapHelpers.configurationType))
'' ''
Debugger configurations, see `:h dap-configuration` for more info. Debugger configurations, see `:h dap-configuration` for more info.
''; '';