fix(luasnip): added note that jsregexp is optional if it fails to build

This commit is contained in:
Folke Lemaitre
2023-03-03 08:28:27 +01:00
parent d285548ae0
commit 04a60e251b

View File

@ -3,7 +3,9 @@ return {
-- snippets
{
"L3MON4D3/LuaSnip",
build = (not jit.os:find("Windows")) and "make install_jsregexp" or nil,
build = (not jit.os:find("Windows"))
and "echo -e 'NOTE: jsregexp is optional, so not a big deal if it fails to build\n'; make install_jsregexp"
or nil,
dependencies = {
"rafamadriz/friendly-snippets",
config = function()