aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/shell_command_selectors.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua
index 6bf45c21a..b08121981 100644
--- a/lua/nvim-treesitter/shell_command_selectors.lua
+++ b/lua/nvim-treesitter/shell_command_selectors.lua
@@ -105,12 +105,8 @@ 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_path,
+ cmd = "make",
info = "Compiling...",
err = "Error during compilation",
opts = {