Fix LuaSnip jsregexpr install

This commit is contained in:
Dreaded_X 2025-05-25 19:10:55 +02:00
parent cf94ba2e4b
commit 45c09c76e3
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -99,11 +99,9 @@ return {
},
{
"L3MON4D3/LuaSnip",
build = function()
if vim.fn.has("win32") == 1 or vim.fn.executable("make") == 0 then
return
end
return "make install_jsregexp"
build = "make install_jsregexp",
cond = function()
return vim.fn.executable("make") == 1
end,
config = function()
require("luasnip").config.setup()