mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-29 18:33:53 +00:00 
			
		
		
		
	languages: clean up unused inherits
This commit is contained in:
		
					parent
					
						
							
								adfb0d1fec
							
						
					
				
			
			
				commit
				
					
						4a876305f6
					
				
			
		
					 31 changed files with 36 additions and 79 deletions
				
			
		|  | @ -4,10 +4,8 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) package enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -7,10 +7,8 @@ | |||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption diagnostics; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -5,14 +5,12 @@ | |||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkOption mkEnableOption literalExpression; | ||||
|   inherit (lib.options) mkOption mkEnableOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.types) enum either package listOf str bool; | ||||
|   inherit (lib.types) enum package bool; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.types) diagnostics mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|   cfg = config.vim.languages.bash; | ||||
|  |  | |||
|  | @ -4,14 +4,10 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|   cfg = config.vim.languages.clojure; | ||||
|  |  | |||
|  | @ -4,15 +4,12 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.trivial) boolToString; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.types) enum either listOf package nullOr str bool; | ||||
|   inherit (lib.types) package nullOr str bool; | ||||
|   inherit (lib.strings) optionalString; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.dag) entryAfter; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -7,12 +7,10 @@ | |||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.dag) entryAnywhere; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,13 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.lists) isList; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum either listOf package str; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,17 +4,16 @@ | |||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) isList attrNames; | ||||
|   inherit (lib.types) either package enum listOf str; | ||||
|   inherit (builtins) isList; | ||||
|   inherit (lib.types) either package listOf str; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.strings) optionalString; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.dag) entryAfter entryBefore; | ||||
|   inherit (lib.nvim.dag) entryAfter; | ||||
|   inherit (lib.nvim.lua) expToLua; | ||||
|   inherit (lib.meta) getExe'; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (pkgs) haskellPackages; | ||||
|   inherit (lib.nvim.lua) toLuaObject; | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) package bool enum listOf; | ||||
|   inherit (lib.types) package bool enum; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,11 +4,10 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames head; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (builtins) head; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.types) listOf enum; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.nvim.dag) entryBefore; | ||||
|  |  | |||
|  | @ -4,9 +4,7 @@ | |||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.types) listOf enum; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe' getExe; | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption diagnostics; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) bool enum listOf package; | ||||
|   inherit (lib.types) bool enum package; | ||||
|   inherit (lib.nvim.types) diagnostics mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.dag) entryBefore; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.meta) getExe'; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum listOf package; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum package listOf; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption diagnostics; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,14 +4,12 @@ | |||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (builtins) attrNames; | ||||
| 
 | ||||
|   defaultServers = ["nushell"]; | ||||
|   servers = { | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf package; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -4,10 +4,8 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) listOf enum; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption literalExpression; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum listOf package str bool; | ||||
|   inherit (lib.types) enum package bool; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.dag) entryBefore; | ||||
|  |  | |||
|  | @ -5,9 +5,9 @@ | |||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption literalExpression; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum listOf package; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption diagnostics; | ||||
|   inherit (lib.types) listOf package enum; | ||||
|   inherit (lib.types) package enum; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|   cfg = config.vim.languages.ruby; | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.types) enum listOf package str; | ||||
|   inherit (lib.types) enum package str; | ||||
|   inherit (lib.nvim.types) diagnostics mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ | |||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf package; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption diagnostics; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|   inherit (lib.nvim.types) mkServersOption; | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|   inherit (lib.generators) mkLuaInline; | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,11 +4,9 @@ | |||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.modules) mkIf mkMerge; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.types) enum listOf; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
|   inherit (builtins) attrNames; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.modules) mkIf mkMerge mkDefault; | ||||
|   inherit (lib.types) bool listOf package enum; | ||||
|   inherit (lib.types) bool package enum; | ||||
|   inherit (lib.nvim.types) mkGrammarOption mkServersOption; | ||||
|   inherit (lib.meta) getExe; | ||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 poz
				poz