Loading ...
Sorry, an error occurred while loading the content.

66277Re: if_lua patch

Expand Messages
  • Luis Carvalho
    Sep 1, 2012
      > > :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((("lexcarvalho@..."):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
    • Show all 13 messages in this topic