mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
2612: Use gmake when available
This commit is contained in:
parent
2ff68da179
commit
d3d1637c3c
1 changed files with 5 additions and 1 deletions
|
|
@ -105,8 +105,12 @@ function M.select_compile_command(repo, cc, compile_location)
|
|||
},
|
||||
}
|
||||
else
|
||||
local make_path = vim.fn.exepath "make"
|
||||
if vim.fn.executable "gmake" then
|
||||
make_path = vim.fn.exepath "gmake"
|
||||
end
|
||||
return {
|
||||
cmd = "make",
|
||||
cmd = make_path,
|
||||
info = "Compiling...",
|
||||
err = "Error during compilation",
|
||||
opts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue