From b8129fac90a44412eed542b35b1e7ff1fe38cc64 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Tue, 8 Mar 2022 21:24:57 +0100 Subject: Revert "2612: Use gmake when available" This reverts commit d3d1637c3c7b384776dfc8f4e8c34cf83eca37e3. --- lua/nvim-treesitter/shell_command_selectors.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lua') 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 = { -- cgit v1.2.3-70-g09d2