From 72a5e6c68421eb94d1ceb67a53d5a06341b3de51 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 21 Apr 2024 04:28:56 +0300 Subject: [PATCH] wrapper/rc: remove redundant lib calls --- modules/wrapper/rc/config.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index 3f9c779..f42f040 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -4,16 +4,15 @@ ... }: let inherit (builtins) map mapAttrs toJSON filter; - inherit (lib.options) mkOption mkEnableOption literalMD literalExpression; + inherit (lib.options) mkOption; inherit (lib.attrsets) filterAttrs getAttrs attrValues attrNames; - inherit (lib.strings) optionalString isString concatStringsSep; + inherit (lib.strings) isString concatStringsSep; inherit (lib.misc) mapAttrsFlatten; inherit (lib.trivial) showWarnings; - inherit (lib.types) bool str oneOf attrsOf nullOr attrs submodule lines listOf either path; + inherit (lib.types) str nullOr; inherit (lib.generators) mkLuaInline; - inherit (lib.nvim.types) dagOf; inherit (lib.nvim.dag) entryAnywhere entryAfter topoSort mkLuarcSection mkVimrcSection; - inherit (lib.nvim.lua) toLuaObject wrapLuaConfig listToLuaTable; + inherit (lib.nvim.lua) toLuaObject wrapLuaConfig; inherit (lib.nvim.vim) valToVim; inherit (lib.nvim.config) mkBool;