From 04a60e251b1c2437ad6d0a237fbacc1848d4aac1 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 3 Mar 2023 08:28:27 +0100 Subject: [PATCH] fix(luasnip): added note that jsregexp is optional if it fails to build --- lua/lazyvim/plugins/coding.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/coding.lua b/lua/lazyvim/plugins/coding.lua index 08d82383..fc05bc3b 100644 --- a/lua/lazyvim/plugins/coding.lua +++ b/lua/lazyvim/plugins/coding.lua @@ -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()