mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	treewide: remove unused inherits
This commit is contained in:
		
					parent
					
						
							
								f86030bc0e
							
						
					
				
			
			
				commit
				
					
						ad69bef1f5
					
				
			
		
					 16 changed files with 7 additions and 18 deletions
				
			
		|  | @ -2,7 +2,7 @@ | |||
| {lib}: let | ||||
|   inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON; | ||||
|   inherit (lib.attrsets) mapAttrsToList filterAttrs; | ||||
|   inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters concatLines; | ||||
|   inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters; | ||||
|   inherit (lib.trivial) boolToString warn; | ||||
| in rec { | ||||
|   # Convert a null value to lua's nil | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
| }: let | ||||
|   inherit (lib.modules) mkIf; | ||||
|   inherit (lib.options) mkOption mkEnableOption mkPackageOption; | ||||
|   inherit (lib.types) nullOr either str listOf submodule; | ||||
|   inherit (lib.types) str submodule; | ||||
|   inherit (lib.attrsets) mapAttrs mapAttrsToList filterAttrs; | ||||
|   cfg = config.vim.clipboard; | ||||
| in { | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.modules) mkMerge; | ||||
|   inherit (lib.trivial) pipe; | ||||
|   inherit (lib.attrsets) mapAttrsToList; | ||||
|   inherit (lib.lists) flatten; | ||||
|  |  | |||
|  | @ -5,7 +5,6 @@ | |||
| }: let | ||||
|   inherit (builtins) toJSON; | ||||
|   inherit (lib.modules) mkIf; | ||||
|   inherit (lib.strings) optionalString; | ||||
| 
 | ||||
|   cfg = config.vim.assistant.copilot; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,6 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.options) mkEnableOption mkOption literalMD; | ||||
|   inherit (lib.types) bool listOf str either attrsOf submodule enum anything int nullOr; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption luaInline pluginType; | ||||
|   inherit (lib.nvim.binds) mkMappingOption; | ||||
|   inherit (lib.nvim.config) mkBool; | ||||
|  |  | |||
|  | @ -3,11 +3,10 @@ | |||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.modules) mkIf; | ||||
|   inherit (lib.strings) optionalString; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.lua) toLuaObject; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (builtins) attrNames typeOf tryEval concatStringsSep; | ||||
| 
 | ||||
|   borders = config.vim.ui.borders.plugins.nvim-cmp; | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ | |||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption literalExpression literalMD; | ||||
|   inherit (lib.options) mkEnableOption mkOption literalMD; | ||||
|   inherit (lib.types) str attrsOf nullOr either listOf; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.binds) mkMappingOption; | ||||
|  |  | |||
|  | @ -4,7 +4,6 @@ | |||
|   ... | ||||
| }: let | ||||
|   inherit (lib.modules) mkIf; | ||||
|   inherit (lib.nvim.dag) entryAnywhere; | ||||
|   inherit (lib.nvim.lua) toLuaObject; | ||||
| 
 | ||||
|   cfg = config.vim.dashboard.alpha; | ||||
|  |  | |||
|  | @ -10,7 +10,6 @@ | |||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.types) mkGrammarOption diagnostics; | ||||
| 
 | ||||
|  |  | |||
|  | @ -6,7 +6,6 @@ | |||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|  |  | |||
|  | @ -9,7 +9,6 @@ | |||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.types) mkGrammarOption diagnostics; | ||||
|  |  | |||
|  | @ -9,7 +9,6 @@ | |||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.types) enum either listOf package str bool; | ||||
|   inherit (lib.nvim.lua) expToLua toLuaObject; | ||||
|   inherit (lib.nvim.types) mkGrammarOption diagnostics mkPluginSetupOption; | ||||
|  |  | |||
|  | @ -4,7 +4,6 @@ | |||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.strings) hasPrefix; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption; | ||||
|   inherit (lib.nvim.types) hexColor; | ||||
| in { | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.options) mkOption mkEnableOption; | ||||
|   inherit (lib.types) enum str bool; | ||||
|   inherit (lib.types) enum str; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption luaInline; | ||||
| in { | ||||
|  |  | |||
|  | @ -5,8 +5,6 @@ | |||
| }: let | ||||
|   inherit (lib.modules) mkIf; | ||||
|   inherit (lib.nvim.binds) mkKeymap; | ||||
|   inherit (lib.nvim.lua) toLuaObject; | ||||
|   inherit (lib.nvim.dag) entryAnywhere; | ||||
| 
 | ||||
|   cfg = config.vim.utility.motion.flash-nvim; | ||||
| in { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.modules) mkRemovedOptionModule; | ||||
|   inherit (lib.options) mkOption mkEnableOption; | ||||
|   inherit (lib.types) submodule attrs attrsOf; | ||||
|   inherit (lib.types) attrs; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption; | ||||
| in { | ||||
|   imports = [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 poz
				poz