Closed ShortArrow closed 2 years ago
I'm not sure if I should approve this. Is Neovim strongly suggest users to use lua instead of Vim script for configuring every small things? If not, I think users have responsibility to understand usage.
I think so too. But I would also choose the path of "learn how to use it first and understand how it works later".
I think it would be helpful to new people just to record these conversations here as an archive. I think that fact alone could enough to closed the issue.
Add how to nerdfont renderer setting by lua at usage section in readme
Why
I didn't know that global variables can be set with
vim.g.
.I feels difficult to find a way to migrate this to lua.
It may be beyond the your scope of responsibility to take, But feel it would be very helpful to users if you put it in the readme. If you would be so kind, please.
Change
let g:fern#renderer = "nerdfont"
vim.g['fern#renderer'] = 'nerdfont'
Reference