lib: remove nixvimTypes alias

This commit is contained in:
Matt Sturgeon 2024-09-27 08:07:20 +01:00
parent bafc6308f6
commit 2f49c76a6a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
59 changed files with 261 additions and 278 deletions

View file

@ -8,7 +8,7 @@ let
commandAttributes = lib.types.submodule {
options = {
command = lib.mkOption {
type = with helpers.nixvimTypes; either str rawLua;
type = with lib.types; either str rawLua;
description = "The command to run.";
};
@ -24,7 +24,7 @@ let
''
The number of arguments to expect, see :h command-nargs.
'';
complete = helpers.mkNullOrOption (with lib.types; either str helpers.nixvimTypes.rawLua) ''
complete = helpers.mkNullOrOption (with lib.types; either str rawLua) ''
Tab-completion behaviour, see :h command-complete.
'';
range =

View file

@ -15,7 +15,7 @@ let
# Raw filetype
str
# Function to set the filetype
helpers.nixvimTypes.rawLua
rawLua
# ["filetype" {priority = xx;}]
(listOf (
either str (submodule {

View file

@ -7,7 +7,7 @@
{
options = {
highlight = lib.mkOption {
type = lib.types.attrsOf helpers.nixvimTypes.highlight;
type = lib.types.attrsOf lib.types.highlight;
default = { };
description = "Define new highlight groups";
example = {
@ -16,7 +16,7 @@
};
highlightOverride = lib.mkOption {
type = lib.types.attrsOf helpers.nixvimTypes.highlight;
type = lib.types.attrsOf lib.types.highlight;
default = { };
description = "Define highlight groups to override existing highlight";
example = {