Update init.lua
Putting `.../mason/bin/` in the beginning of `vim.env.PATH`
This commit is contained in:
parent
699aeaa442
commit
914f9a400e
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…
Reference in a new issue