Merge pull request #2031 from TirtharajPramanik/patch-1
update mason binaries path in vim.env ( fixes rust_analyzyer bin not found )
This commit is contained in:
		
						commit
						27992efc1c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -58,7 +58,7 @@ end
 | 
			
		|||
 | 
			
		||||
-- add binaries installed by mason.nvim to path
 | 
			
		||||
local is_windows = vim.loop.os_uname().sysname == "Windows_NT"
 | 
			
		||||
vim.env.PATH = vim.env.PATH .. (is_windows and ";" or ":") .. vim.fn.stdpath "data" .. "/mason/bin"
 | 
			
		||||
vim.env.PATH = vim.fn.stdpath "data" .. "/mason/bin" .. (is_windows and ";" or ":") .. vim.env.PATH
 | 
			
		||||
 | 
			
		||||
-------------------------------------- autocmds ------------------------------------------
 | 
			
		||||
local autocmd = vim.api.nvim_create_autocmd
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue