From 59ebcf91e40afe550f942f4865d12912b65be5a5 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 5 Dec 2025 12:42:13 +0000 Subject: [PATCH] lib/top-level: drop old deprecations --- lib/top-level.nix | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/lib/top-level.nix b/lib/top-level.nix index 05e34e97..a27bb0ec 100644 --- a/lib/top-level.nix +++ b/lib/top-level.nix @@ -129,41 +129,5 @@ lib.makeExtensible ( inherit (self.lua) toLuaObject; mkLuaInline = self.lua.mkInline; - - # TODO: Removed 2024-12-21 - extendedLib = throw "`extendedLib` has been removed. Use `lib.extend .lib.overlay` instead."; } - // - # 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"; - } - // - # TODO: neovim-plugin & vim-plugin aliases deprecated 2024-12-22; internal functions - lib.mapAttrs' - (scope: names: { - name = "${scope}-plugin"; - value = lib.genAttrs names ( - name: - lib.warn "`${scope}-plugin.${name}` has been moved to `plugins.${scope}.${name}`." - self.plugins.${scope}.${name} - ); - }) - { - neovim = [ - "extraOptionsOptions" - "mkNeovimPlugin" - ]; - vim = [ - "mkSettingsOption" - "mkSettingsOptionDescription" - "mkVimPlugin" - ]; - } )