mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/dap (dapHelpers): internal rename configurationOption -> configurationType
This commit is contained in:
parent
c9597b37d8
commit
21e8b57a11
4 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue