mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib: remove nixvimTypes
alias
This commit is contained in:
parent
bafc6308f6
commit
2f49c76a6a
59 changed files with 261 additions and 278 deletions
|
@ -214,12 +214,12 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
types.submodule {
|
||||
options = {
|
||||
name = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The name for this workspace";
|
||||
};
|
||||
|
||||
path = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The of the workspace.";
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ with lib;
|
|||
'';
|
||||
|
||||
substitutions = helpers.defaultNullOpts.mkAttrsOf (
|
||||
with helpers.nixvimTypes; either str rawLua
|
||||
with lib.types; either str rawLua
|
||||
) { } "A map for custom variables, the key should be the variable and the value a function.";
|
||||
};
|
||||
|
||||
|
@ -224,7 +224,7 @@ with lib;
|
|||
attrsOf (submodule {
|
||||
options = {
|
||||
action = mkOption {
|
||||
type = helpers.nixvimTypes.strLua;
|
||||
type = lib.types.strLua;
|
||||
description = "The lua code for this keymap action.";
|
||||
apply = helpers.mkRaw;
|
||||
};
|
||||
|
@ -372,12 +372,12 @@ with lib;
|
|||
submodule {
|
||||
options = {
|
||||
char = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The character to use for this checkbox.";
|
||||
};
|
||||
|
||||
hl_group = mkOption {
|
||||
type = with helpers.nixvimTypes; maybeRaw str;
|
||||
type = with lib.types; maybeRaw str;
|
||||
description = "The name of the highlight group to use for this checkbox.";
|
||||
};
|
||||
};
|
||||
|
@ -447,7 +447,7 @@ with lib;
|
|||
'';
|
||||
};
|
||||
|
||||
hl_groups = helpers.defaultNullOpts.mkAttrsOf helpers.nixvimTypes.highlight {
|
||||
hl_groups = helpers.defaultNullOpts.mkAttrsOf lib.types.highlight {
|
||||
ObsidianTodo = {
|
||||
bold = true;
|
||||
fg = "#f78c6c";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue