2
votes
Argument of extend() must be a List or Dictionary, using List as a String errors
There is a kind of misunderstanding here.
vim.g.foo.a = 0 will fail as foo does not exist (yet). This is quite common point for many languages, no matter if Lua or VimScript.
vim.g.foo = {}; vim.g....
1
vote
Argument of extend() must be a List or Dictionary, using List as a String errors
See the reddit post for origin.
:h lua-vim-variables
Note that setting dictionary fields directly will not write them back into
Nvim. This is because the index into the namespace simply returns a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
plugin-airline × 72vimrc × 19
neovim × 11
statusline × 11
vimscript × 5
gvim × 4
buffers × 4
microsoft-windows × 3
colorscheme × 2
font × 2
plugin-vundle × 2
plugin-powerline × 2
lua × 2
terminal × 1
vim-windows × 1
functions × 1
filetype × 1
netrw × 1
spell-checking × 1
tabbed-user-interface × 1
bash × 1
help-system × 1
git × 1
tmux × 1
linux-ubuntu × 1