FreeBSD LuaSnip build function compatibility (use command gmake if available)
This commit is contained in:
parent
1fdb363a76
commit
960ef4612e
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ return { -- Autocompletion
|
|||
if vim.fn.has 'win32' == 1 or vim.fn.executable 'make' == 0 then
|
||||
return
|
||||
end
|
||||
|
||||
-- Compatibility check for *BSD/Linux
|
||||
if vim.fn.executable 'gmake' then
|
||||
return 'gmake install_jsregexp'
|
||||
end
|
||||
|
||||
return 'make install_jsregexp'
|
||||
end)(),
|
||||
dependencies = {
|
||||
|
|
Loading…
Reference in a new issue