vim.g.slime_default_config = {
socket_name = 'default',
target_pane = '{last}'
}
vim.g.<variable>
is the same as g:<variable>
in VimL. Assigning a dictionary is very straightforward as lua tables map to VimL dictionaries, with the exception of empty dicts where you have to use vim.empty_dict()
.