forked from aniani/vim
patch 8.1.1954: more functions can be used as a method
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
This commit is contained in:
@@ -36,7 +36,7 @@ func Test_eval()
|
||||
|
||||
" lua.eval with a string
|
||||
lua v = vim.eval('"abc"')
|
||||
call assert_equal('string', luaeval('vim.type(v)'))
|
||||
call assert_equal('string', 'vim.type(v)'->luaeval())
|
||||
call assert_equal('abc', luaeval('v'))
|
||||
|
||||
" lua.eval with a list
|
||||
|
Reference in New Issue
Block a user