summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/install.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-09-09 22:11:07 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-01-23 16:27:25 +0100
commita37c97545f23eef90f833be634ef1f3db93af0ca (patch)
tree4d38a265f9702a958c5c63417229fab692c129dd /lua/nvim-treesitter/install.lua
parent045cb86d44d82aa050d70535c687e4d0bc2048f5 (diff)
Allow compilation via makefile
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
-rw-r--r--lua/nvim-treesitter/install.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua
index 4b187f74..b1614395 100644
--- a/lua/nvim-treesitter/install.lua
+++ b/lua/nvim-treesitter/install.lua
@@ -325,15 +325,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
})
end
vim.list_extend(command_list, {
- {
- cmd = cc,
- info = "Compiling...",
- err = "Error during compilation",
- opts = {
- args = vim.tbl_flatten(shell.select_compiler_args(repo, cc)),
- cwd = compile_location,
- },
- },
+ shell.select_compile_command(repo, cc, compile_location),
shell.select_mv_cmd("parser.so", parser_lib_name, compile_location),
{
cmd = function()