:lua with a [range] executes that range as Lua code, in any buffer.
Finally! Something similar to M-x eval-region built-in (as far as I'm aware).
M-x eval-region
Finally! Something similar to
M-x eval-region
built-in (as far as I'm aware).