summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-03-08 21:24:57 +0100
committerChristian Clason <christian.clason@uni-due.de>2022-03-08 21:32:11 +0100
commitb8129fac90a44412eed542b35b1e7ff1fe38cc64 (patch)
tree17fdb20ba5414d72947e091a173bacee2f6e58c7 /lua/nvim-treesitter
parentb6002dbeac62fb586559391eaaaeedcabddd1347 (diff)
Revert "2612: Use gmake when available"
This reverts commit d3d1637c3c7b384776dfc8f4e8c34cf83eca37e3.
Diffstat (limited to 'lua/nvim-treesitter')
-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 6bf45c21..b0812198 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 = {