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

@ -323,9 +323,7 @@ in
};
onAttach =
helpers.defaultNullOpts.mkNullable
(with types; either (enum [ "default" ]) helpers.nixvimTypes.rawLua)
"default"
helpers.defaultNullOpts.mkNullable (with types; either (enum [ "default" ]) rawLua) "default"
''
Function ran when creating the nvim-tree buffer.
This can be used to attach keybindings to the tree buffer.
@ -387,7 +385,7 @@ in
'';
padding =
helpers.defaultNullOpts.mkNullable (either ints.unsigned helpers.nixvimTypes.rawLua) "1"
helpers.defaultNullOpts.mkNullable (either ints.unsigned rawLua) "1"
"Extra padding to the right.";
};
})
@ -503,7 +501,7 @@ in
oneOf [
str
bool
helpers.nixvimTypes.rawLua
rawLua
]
)
# Default