mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-22 19:54:43 +02:00
lib: remove nixvimTypes
alias
This commit is contained in:
parent
bafc6308f6
commit
2f49c76a6a
59 changed files with 261 additions and 278 deletions
|
@ -18,20 +18,20 @@ helpers.vim-plugin.mkVimPlugin {
|
|||
freeformType = with types; attrsOf anything;
|
||||
options = {
|
||||
name = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The name of the schema.";
|
||||
};
|
||||
|
||||
description = helpers.mkNullOrStr "A description for this schema.";
|
||||
|
||||
fileMatch =
|
||||
helpers.mkNullOrOption (with helpers.nixvimTypes; maybeRaw (either str (listOf (maybeRaw str))))
|
||||
helpers.mkNullOrOption (with lib.types; maybeRaw (either str (listOf (maybeRaw str))))
|
||||
''
|
||||
Which filename to match against for this schema.
|
||||
'';
|
||||
|
||||
url = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The URL of this schema.";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue