> >     :lua vim.eval('g:').dict=vim.dict{'abc'}
> > 
> > No error, but g:dict is empty. Very distracting.
> 
> Though mentioned in docs. Won’t be so distracting if I read them first.

Right. I think you meant:

  :lua vim.eval('g:').list = vim.list{'abc'}

or

  :lua vim.eval('g:').dict = vim.dict{key = 'abc'}

since you forgot the key.

Cheers,
Luis

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

-- 
Luis Carvalho (Kozure)
lua -e 'print((("[email protected]"):gsub("(%u+%.)","")))'

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui