mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
fix: vim.tbl_flatten is deprecated
This commit is contained in:
parent
5a38df5627
commit
054080bf59
2 changed files with 2 additions and 2 deletions
|
|
@ -386,7 +386,7 @@ end
|
|||
---@param compile_location string
|
||||
---@return string? err
|
||||
local function do_compile(logger, repo, cc, compile_location)
|
||||
local args = vim.tbl_flatten(select_compiler_args(repo, cc))
|
||||
local args = vim.iter(select_compiler_args(repo, cc)):flatten():totable()
|
||||
local cmd = vim.list_extend({ cc }, args)
|
||||
|
||||
logger:info('Compiling parser')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue