mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 06:21:14 +00:00 
			
		
		
		
	fix: replace ~ by HOME for Plugin.dir
This commit is contained in:
		
					parent
					
						
							
								c1fe69afd5
							
						
					
				
			
			
				commit
				
					
						12ded3f422
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -76,6 +76,7 @@ function Spec:add(plugin, is_dep) | |||
|   end | ||||
| 
 | ||||
|   if plugin.dir then | ||||
|     plugin.dir = plugin.dir:gsub("~", os.getenv("HOME") or "~") | ||||
|     -- local plugin | ||||
|     plugin.name = plugin.name or Spec.get_name(plugin.dir) | ||||
|   elseif plugin.url then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue