fix: adapt to Nvim 0.11 deprecations

This commit is contained in:
Christian Clason 2024-05-17 09:39:19 +02:00
parent 19ac9e8b5c
commit 3d268f9db4
5 changed files with 20 additions and 7 deletions

View file

@ -152,7 +152,7 @@ function M.select_compile_command(repo, cc, compile_location)
info = "Compiling...",
err = "Error during compilation",
opts = {
args = vim.tbl_flatten(M.select_compiler_args(repo, cc)),
args = require("nvim-treesitter.compat").flatten(M.select_compiler_args(repo, cc)),
cwd = compile_location,
},
}