Added @dam9000 guard to improve Windows experience, plus comment explaining build step

This commit is contained in:
Richard Garber 2024-02-05 00:13:11 -05:00
parent da3d4be567
commit 36b8af27af
1 changed files with 9 additions and 1 deletions

View File

@ -102,7 +102,15 @@ require('lazy').setup({
-- Snippet Engine & its associated nvim-cmp source
{
'L3MON4D3/LuaSnip',
build = 'make install_jsregexp',
build = (function()
-- Build Step is needed for regex support in snippets
-- This step is not supported in many windows environments
-- Remove if your windows setup supports this
if vim.fn.has 'win32' == 1 then
return
end
return 'make install_jsregexp'
end)(),
},
'saadparwaiz1/cmp_luasnip',