diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-05-01 19:52:36 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-05-01 19:52:36 +0200 |
| commit | cf3bb54fddc08d00117eeb5780bb8b6bfde868f5 (patch) | |
| tree | cd5d03b8b951c1701b238414ace911ff5e6259d8 /lua/pml68/settings.lua | |
| parent | feat: optimize lazy loading of plugins (110ms -> 40ms) (diff) | |
| download | nvim-cf3bb54fddc08d00117eeb5780bb8b6bfde868f5.tar.gz | |
fix: remove accidental User FilePost events causing plugins to never load
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/settings.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/pml68/settings.lua b/lua/pml68/settings.lua index 95c9538..39ebc32 100644 --- a/lua/pml68/settings.lua +++ b/lua/pml68/settings.lua @@ -27,3 +27,6 @@ vim.g.netrw_winsize = 25 vim.o.foldmethod = "expr" vim.o.foldexpr = "v:lua.vim.treesitter.foldexpr()" + +local is_windows = vim.fn.has("win32") ~= 0 +vim.env.PATH = vim.fn.stdpath "data" .. "/mason/bin" .. (is_windows and ";" or ":") .. vim.env.PATH |
