mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-06 07:14:31 +02:00
plugins/dap: remove with lib
This commit is contained in:
parent
fe2789e407
commit
e48dda4fe4
6 changed files with 36 additions and 24 deletions
|
@ -1,5 +1,7 @@
|
|||
{ lib, helpers }:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib) types;
|
||||
in
|
||||
rec {
|
||||
mkAdapterType =
|
||||
attrs:
|
||||
|
@ -92,12 +94,12 @@ rec {
|
|||
freeformType = types.attrs;
|
||||
|
||||
options = {
|
||||
type = mkOption {
|
||||
type = lib.mkOption {
|
||||
description = "Which debug adapter to use.";
|
||||
type = types.str;
|
||||
};
|
||||
|
||||
request = mkOption {
|
||||
request = lib.mkOption {
|
||||
type = types.enum [
|
||||
"attach"
|
||||
"launch"
|
||||
|
@ -107,7 +109,7 @@ rec {
|
|||
'';
|
||||
};
|
||||
|
||||
name = mkOption {
|
||||
name = lib.mkOption {
|
||||
type = types.str;
|
||||
description = "A user readable name for the configuration.";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue