From 3424b083ba11bf91f80b798e75889ee5a93082ff Mon Sep 17 00:00:00 2001 From: diniamo Date: Mon, 15 Jul 2024 21:01:51 +0200 Subject: [PATCH] modules/wrapper(rc): add removed option module for configRC --- modules/wrapper/rc/options.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/wrapper/rc/options.nix b/modules/wrapper/rc/options.nix index 6b1289d..0c551c8 100644 --- a/modules/wrapper/rc/options.nix +++ b/modules/wrapper/rc/options.nix @@ -3,13 +3,19 @@ lib, ... }: let + inherit (lib.modules) mkRemovedOptionModule; inherit (lib.options) mkOption mkEnableOption literalMD literalExpression; inherit (lib.strings) optionalString; inherit (lib.types) str attrs lines listOf either path bool; inherit (lib.nvim.types) dagOf; inherit (lib.nvim.lua) listToLuaTable; + cfg = config.vim; in { + imports = [ + (mkRemovedOptionModule ["vim" "configRC"] "Migrate your configRC sections to lua, and add them to luaConfigRC instead.") + ]; + options.vim = { enableLuaLoader = mkEnableOption '' the experimental Lua module loader to speed up the start up process