skip luasnip/jsregexp build on windows (oops)

Mon, 01 Jan 2024 14:47:38 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Jan 2024 14:47:38 -0600
changeset 1144
dc1def95331f
parent 1143
5c37b939b296
child 1145
beb170aa6789

skip luasnip/jsregexp build on windows (oops)

.config/nvim/lua/plugins/completion.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/completion.lua
+++ b/.config/nvim/lua/plugins/completion.lua
@@ -91,7 +91,7 @@ return {
   {
     "L3MON4D3/LuaSnip",
     lazy = true,
-    build = jit.os:find("Windows") and nil or "make install_jsregexp",
+    build = (jit.os ~= "Windows") and "make install_jsregexp",
     opts = {
       history = true,
       delete_check_events = "TextChanged",

mercurial