Lines Matching refs:table
123 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got table)")
479 call assert_fails('lua vim.list(1)', '[string "vim chunk"]:1: table expected, got number')
480 call assert_fails('lua vim.list("x")', '[string "vim chunk"]:1: table expected, got string')
481 call assert_fails('lua vim.list(print)', '[string "vim chunk"]:1: table expected, got function')
482 call assert_fails('lua vim.list(true)', '[string "vim chunk"]:1: table expected, got boolean')
492 lua table.insert(t, 10)
494 lua table.insert(t, 2, 30)
496 lua table.remove(t, 2)
500 lua removed_value = table.remove(t, 3)
572 \ ? '[string "luaeval"]:1: table has empty key'
573 \ : 'table has empty key')
602 call assert_fails('lua vim.dict(1)', '[string "vim chunk"]:1: table expected, got number')
603 call assert_fails('lua vim.dict("x")', '[string "vim chunk"]:1: table expected, got string')
604 call assert_fails('lua vim.dict(print)', '[string "vim chunk"]:1: table expected, got function')
605 call assert_fails('lua vim.dict(true)', '[string "vim chunk"]:1: table expected, got boolean')
639 call assert_fails('lua b:add({})', '[string "vim chunk"]:1: string expected, got table')
666 \ '[string "vim chunk"]:1: string expected, got table')
713 call assert_equal('table', luaeval('vim.type({})'))
920 " Lua table
1024 " Lua table
1042 " vim.w Lua table
1084 " vim.b Lua table
1125 " vim.t Lua table