mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 06:21:14 +00:00 
			
		
		
		
	perf: when reloading plugin specs always use cache
This commit is contained in:
		
					parent
					
						
							
								e897524b1f
							
						
					
				
			
			
				commit
				
					
						060cf23aca
					
				
			
		
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -92,6 +92,10 @@ function M.loader(modname) | |||
|   return chunk or error(err) | ||||
| end | ||||
| 
 | ||||
| function M.require(modname) | ||||
|   return M.loader(modname)() | ||||
| end | ||||
| 
 | ||||
| function M.idx() | ||||
|   -- update our loader position if needed | ||||
|   if package.loaders[M.loader_idx] ~= M.loader then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue