mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	first test
This commit is contained in:
		
					parent
					
						
							
								dee0bfd98e
							
						
					
				
			
			
				commit
				
					
						3656f9f6c5
					
				
			
		
					 25 changed files with 789 additions and 211 deletions
				
			
		|  | @ -7,9 +7,9 @@ | |||
| }: let | ||||
|   inherit (pkgs) vimPlugins; | ||||
|   inherit (lib.trivial) flip; | ||||
|   inherit (builtins) filter isString; | ||||
|   inherit (builtins) filter isString hasAttr getAttr; | ||||
| 
 | ||||
|   getPin = name: ((pkgs.callPackages ../../../npins/sources.nix {}) // config.vim.pluginOverrides).${name}; | ||||
|   getPin = flip getAttr (pkgs.callPackages ../../../npins/sources.nix {}); | ||||
| 
 | ||||
|   noBuildPlug = pname: let | ||||
|     pin = getPin pname; | ||||
|  | @ -48,13 +48,22 @@ | |||
|       doCheck = false; | ||||
|     }; | ||||
| 
 | ||||
|     inherit (inputs.self.packages.${pkgs.stdenv.system}) blink-cmp; | ||||
|     inherit (inputs.self.packages.${pkgs.stdenv.system}) blink-cmp avante-nvim; | ||||
|   }; | ||||
| 
 | ||||
|   buildConfigPlugins = plugins: | ||||
|     map (plug: | ||||
|       if (isString plug) | ||||
|       then pluginBuilders.${plug} or (noBuildPlug plug) | ||||
|       then | ||||
|         if hasAttr plug config.vim.pluginOverrides | ||||
|         then | ||||
|           (let | ||||
|             plugin = config.vim.pluginOverrides.${plug}; | ||||
|           in | ||||
|             if (lib.isType "flake" plugin) | ||||
|             then plugin // {name = plug;} | ||||
|             else plugin) | ||||
|         else pluginBuilders.${plug} or (noBuildPlug plug) | ||||
|       else plug) ( | ||||
|       filter (f: f != null) plugins | ||||
|     ); | ||||
|  |  | |||
|  | @ -11,7 +11,7 @@ in { | |||
|       description = '' | ||||
|         [official documentation]: https://neovim.io/doc/user/lua.html#vim.loader.enable() | ||||
| 
 | ||||
|         Whethere to enable the experimental Lua module loader to speed up the start | ||||
|         Whether to enable the experimental Lua module loader to speed up the start | ||||
|         up process. If `true`, this will enable the experimental Lua module loader | ||||
|         which: | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 BarryLabs
				BarryLabs