refactor: use LazyVim.is_win()

This commit is contained in:
Folke Lemaitre 2024-03-26 20:47:16 +01:00
parent 1de90e7e4c
commit 1910cd5cb7
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ return {
-- snippets
{
"L3MON4D3/LuaSnip",
build = (not jit.os:find("Windows"))
build = (not LazyVim.is_win())
and "echo 'NOTE: jsregexp is optional, so not a big deal if it fails to build'; make install_jsregexp"
or nil,
dependencies = {