Lines Matching refs:msg

63     let msg = "[string \"vim chunk\"]:1: global 'func' is not callable (a nil value)"
65 let msg = "[string \"vim chunk\"]:1: attempt to call a nil value (global 'func')"
67 let msg = "[string \"vim chunk\"]:1: attempt to call global 'func' (a nil value)"
69 call assert_fails('luado func()', msg)
155 let msg = "[string \"luaeval\"]:1: field 'xyz' is not callable (a nil value)"
157 let msg = "[string \"luaeval\"]:1: attempt to call a nil value (field 'xyz')"
159 let msg = "[string \"luaeval\"]:1: attempt to call field 'xyz' (a nil value)"
161 call assert_fails("let n = luaeval('vim.window().xyz()')", msg)
347 let msg = "[string \"vim chunk\"]:1: method 'xyz' is not callable (a nil value)"
349 let msg = "[string \"vim chunk\"]:1: attempt to call a nil value (method 'xyz')"
351 let msg = "[string \"vim chunk\"]:1: attempt to call method 'xyz' (a nil value)"
353 call assert_fails('lua vim.buffer():xyz()', msg)
458 let msg = "[string \"luaeval\"]:1: method 'xyz' is not callable (a nil value)"
460 let msg = "[string \"luaeval\"]:1: attempt to call a nil value (method 'xyz')"
462 let msg = "[string \"luaeval\"]:1: attempt to call method 'xyz' (a nil value)"
464 call assert_fails('let x = luaeval("ll:xyz(3)")', msg)
649 let msg = "[string \"luaeval\"]:1: method 'xyz' is not callable (a nil value)"
651 let msg = "[string \"luaeval\"]:1: attempt to call a nil value (method 'xyz')"
653 let msg = "[string \"luaeval\"]:1: attempt to call method 'xyz' (a nil value)"
655 call assert_fails('let x = luaeval("lb:xyz(3)")', msg)
676 lua msg = "funcref|test|" .. (#i2(i1) == #i1(i2) and "OK" or "FAIL")
677 lua msg = vim.funcref"tr"(msg, "|", " ")
678 call assert_equal("funcref test OK", luaeval('msg'))
703 lua i1, i2, msg, d, res = nil
777 …')(setmetatable({ space = ' '}, { __call = function(tbl, msg) return 'hello' .. tbl.space .. msg
833 let msg = split(execute('message'), "\n")[-1]
834 call assert_equal('str=foo, num=321', msg)