mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-30 22:11:09 +00:00 
			
		
		
		
	fix(health): always use main spec
This commit is contained in:
		
					parent
					
						
							
								39b66027a5
							
						
					
				
			
			
				commit
				
					
						6ff480bdee
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -1,6 +1,5 @@ | |||
| local Util = require("lazy.util") | ||||
| local Config = require("lazy.core.config") | ||||
| local Plugin = require("lazy.core.plugin") | ||||
| 
 | ||||
| local M = {} | ||||
| 
 | ||||
|  | @ -49,7 +48,7 @@ function M.check() | |||
|     "cond", | ||||
|     "_", | ||||
|   } | ||||
|   local spec = Plugin.spec({ show_errors = false }) | ||||
|   local spec = Config.parsed | ||||
|   for _, plugin in pairs(spec.plugins) do | ||||
|     for key in pairs(plugin) do | ||||
|       if not vim.tbl_contains(valid, key) then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue