mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 21:00:08 -04:00
fix: adapt to Nvim 0.11 deprecations
This commit is contained in:
parent
19ac9e8b5c
commit
3d268f9db4
5 changed files with 20 additions and 7 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue