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
|
@ -120,13 +120,18 @@ lib.fix (
|
|||
wrapVimscriptForLua
|
||||
;
|
||||
|
||||
# TODO: Removed 2024-09-27
|
||||
maintainers = throw "The `maintainers` alias has been removed. Use `lib.maintainers` on a lib with nixvim's extensions.";
|
||||
|
||||
# TODO: Deprecate the old `nixvimTypes` alias?
|
||||
nixvimTypes = self.extendedLib.types;
|
||||
|
||||
toLuaObject = self.lua.toLua;
|
||||
mkLuaInline = self.lua.mkInline;
|
||||
}
|
||||
//
|
||||
# TODO: Removed 2024-09-27; remove after 24.11
|
||||
lib.mapAttrs
|
||||
(
|
||||
old: new:
|
||||
throw "The `${old}` alias has been removed. Use `${new}` on a lib with nixvim's extensions."
|
||||
)
|
||||
{
|
||||
maintainers = "lib.maintainers";
|
||||
nixvimTypes = "lib.types";
|
||||
}
|
||||
)
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
}
|
||||
// lib.optionalAttrs hasConfigAttrs {
|
||||
luaConfig = lib.mkOption {
|
||||
type = lib.nixvim.nixvimTypes.pluginLuaConfig;
|
||||
type = lib.types.pluginLuaConfig;
|
||||
default = { };
|
||||
description = "The plugin's lua configuration";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue