mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-23 01:11:12 +01:00
tests/neotest: avoid deprecated vim.tbl_flatten
Use plain tables (and vim.iter flatten where needed).
This commit is contained in:
parent
36ce7aacbe
commit
53e19bd5e9
3 changed files with 5 additions and 5 deletions
|
|
@ -18,7 +18,7 @@
|
|||
args = [ "--trace" ];
|
||||
post_process_command.__raw = ''
|
||||
function(cmd)
|
||||
return vim.tbl_flatten({{"env", "FOO=bar"}, cmd})
|
||||
return vim.iter({ { "env", "FOO=bar" }, cmd }):flatten():totable()
|
||||
end
|
||||
'';
|
||||
write_delay = 1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue