LuaSnip
LuaSnip copied to clipboard
makefile windows defaults
Why can't we have these defaults for windows in the makefile? I don't wanna edit this every time (unless there is a better way?). These should work for most cases i guess?
# On Windows, you may need to set:
SHELL=C:/Program Files/Git/bin/sh.exe
.SHELLFLAGS=-c
CC=gcc
NEOVIM_BIN_PATH=C:/Program Files/Neovim/bin/
What package manager do you use? If you use lazy.nvim, you can try:
local IN_WINDOWS = vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1
return {
"L3MON4D3/LuaSnip",
dependencies = { "rafamadriz/friendly-snippets" },
build = IN_WINDOWS and "make install_jsregexp CC=gcc" or "make install_jsregexp",
-- more ...
}