hkupty/runes.nvim

Add `assert` and `state` tables to function scope

hkupty opened this issue · 0 comments

They shouldn't necessarily be required as arguments. Instead, they could be supplied to the function scope w/ setfenv.
In that case, if state is a table, its keyword arguments could be exposed as top-level values as well.