Skip to content

Instantly share code, notes, and snippets.

@tjdevries
Created July 20, 2020 01:31
Show Gist options
  • Save tjdevries/71ff296239baabe7d9cb694786506fe6 to your computer and use it in GitHub Desktop.
Save tjdevries/71ff296239baabe7d9cb694786506fe6 to your computer and use it in GitHub Desktop.
function x()
return 1, 2
end
function y()
local foo = {{x()}, {x()}}
return vim.tbl_flatten(foo)
end
print(vim.inspect(y()))
@lysandroc
Copy link

🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment