mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-30 22:11:09 +00:00 
			
		
		
		
	fix: updated the bootstrap code
This commit is contained in:
		
					parent
					
						
							
								5128d896c7
							
						
					
				
			
			
				commit
				
					
						1ee4e8b719
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -68,7 +68,7 @@ function M.stats() | |||
| end | ||||
| 
 | ||||
| function M.bootstrap() | ||||
|   local lazypath = vim.fn.stdpath("data") .. "/site/pack/lazy/opt/lazy.nvim" | ||||
|   local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||||
|   if not vim.loop.fs_stat(lazypath) then | ||||
|     vim.fn.system({ | ||||
|       "git", | ||||
|  | @ -78,7 +78,7 @@ function M.bootstrap() | |||
|       "https://github.com/folke/lazy.nvim.git", | ||||
|       lazypath, | ||||
|     }) | ||||
|     vim.opt.runtimepath:append(lazypath) | ||||
|     vim.opt.runtimepath:prepend(lazypath) | ||||
|   end | ||||
| end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue