From 914f9a400e4c39dc149dfd3e2ebec816e7f91565 Mon Sep 17 00:00:00 2001 From: Tirtharaj Pramanik <81750507+TirtharajPramanik@users.noreply.github.com> Date: Wed, 17 May 2023 02:14:15 +0530 Subject: [PATCH] Update init.lua Putting `.../mason/bin/` in the beginning of `vim.env.PATH` --- lua/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/core/init.lua b/lua/core/init.lua index 8fe26e2..073a6cc 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -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