this post was submitted on 14 Jul 2023
10 points (100.0% liked)
Neovim
2164 readers
3 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
vim.g.<variable>
is the same asg:<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 usevim.empty_dict()
.Thank you so much. Now I finally am able to merge this feature branch into my main dotfile without shame. Also, please allow me to link your comment as the answer on the question.
No need to ask for permission to link for stuff like this, I made a post on public platform and anyone can share it as they see fit. Also glad I could help.