mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 14:31:04 +00:00 
			
		
		
		
	feat: refactor all vim.loop -> vim.uv and add a shim when needed
This commit is contained in:
		
					parent
					
						
							
								83493db50a
							
						
					
				
			
			
				commit
				
					
						9e157df077
					
				
			
		
					 19 changed files with 53 additions and 51 deletions
				
			
		|  | @ -15,7 +15,7 @@ M.log = { | |||
|     if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then | ||||
|       return true | ||||
|     end | ||||
|     local stat = vim.loop.fs_stat(plugin.dir .. "/.git") | ||||
|     local stat = vim.uv.fs_stat(plugin.dir .. "/.git") | ||||
|     return not (stat and stat.type == "directory") | ||||
|   end, | ||||
|   ---@param opts {args?: string[], updated?:boolean, check?:boolean} | ||||
|  | @ -106,7 +106,7 @@ M.clone = { | |||
|           self.plugin._.cloned = true | ||||
|           self.plugin._.installed = true | ||||
|           self.plugin._.dirty = true | ||||
|           vim.loop.fs_unlink(marker) | ||||
|           vim.uv.fs_unlink(marker) | ||||
|         end | ||||
|       end, | ||||
|     }) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue