mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 23:55:15 +02:00
plugins/dap/extensions: use lib.mkPackageOption
This commit is contained in:
parent
bf1d22e65c
commit
84676128f8
5 changed files with 30 additions and 5 deletions
|
@ -22,7 +22,12 @@ with dapHelpers;
|
|||
options.plugins.dap = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "dap";
|
||||
|
||||
package = helpers.mkPluginPackageOption "dap" pkgs.vimPlugins.nvim-dap;
|
||||
package = lib.mkPackageOption pkgs "dap" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"nvim-dap"
|
||||
];
|
||||
};
|
||||
|
||||
adapters = helpers.mkCompositeOption "Dap adapters." {
|
||||
executables = mkAdapterOption "executable" executableAdapterOption;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue