mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 06:21:14 +00:00 
			
		
		
		
	fix(spec): normalize deps before adding spec to make sure merging works as expected
This commit is contained in:
		
					parent
					
						
							
								77ff7beaa4
							
						
					
				
			
			
				commit
				
					
						7d755987ba
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -120,8 +120,8 @@ function Spec:normalize(spec, results, is_dep) | |||
|         plugin = spec | ||||
|       else | ||||
|         ---@cast spec LazyPlugin | ||||
|         spec.dependencies = spec.dependencies and self:normalize(spec.dependencies, {}, true) or nil | ||||
|         plugin = self:add(spec, is_dep) | ||||
|         plugin.dependencies = plugin.dependencies and self:normalize(plugin.dependencies, {}, true) or nil | ||||
|       end | ||||
|       table.insert(results, plugin.name) | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue