I've started recently to use lazy.nvim to load plugins. I'm also trying to move the configuration from vimscript to lua, as well.
Most changes seem to be straightforward, but there's one that I am not sure how to translate properly, i.e.:
let g:jedi#use_tabs_not_buffers = 1
I was expecting to write something like vim.g.jedi = { use_tabs_not_buffers = 1 }
but it does not work.
The only way I've managed to get this working is by using this syntax:
{
'davidhalter/jedi-vim',
config = function()
vim.g['jedi#use_tabs_not_buffers'] = 1
end
}
Is this the right way?