A Lua REPL in the console with autocompletion and pretty-printing of returned tables. It lets you test mpv's and Lua's API without writing a script.
It is bound to Ctrl+r
by default, and you can bind a different key to script-binding lua-repl
.
return
is automatically inserted before statements when doing so does not break them.