mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-11-04 00:11:06 +00:00 
			
		
		
		
	feat(spec): spec merging now properly works with Plugin.enabled
		
	This commit is contained in:
		
					parent
					
						
							
								bce0c6e327
							
						
					
				
			
			
				commit
				
					
						81cb352fe6
					
				
			
		
					 2 changed files with 54 additions and 20 deletions
				
			
		| 
						 | 
				
			
			@ -260,6 +260,7 @@ describe("plugin spec opt", function()
 | 
			
		|||
    }
 | 
			
		||||
    for test, ret in pairs(tests) do
 | 
			
		||||
      local spec = Plugin.Spec.new(test)
 | 
			
		||||
      spec:fix_disabled()
 | 
			
		||||
      assert(#spec.notifs == 0)
 | 
			
		||||
      if ret then
 | 
			
		||||
        assert(spec.plugins.bar)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue