vim-patch:8.1.1984: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make various functions usable as a method.
3f4f3d8e7e

test_prompt_buffer.vim already had all the changes, except
Test_prompt_garbage_collect().
This commit is contained in:
Sean Dewar
2021-09-01 12:28:16 +01:00
parent d23d37b212
commit c5583df3c0
8 changed files with 56 additions and 27 deletions

View File

@@ -59,7 +59,7 @@ func Test_vim_function()
try
py f = vim.Function('\x80\xfdR' + vim.eval('s:foo()'))
call assert_equal(name, pyeval('f.name'))
call assert_equal(name, 'f.name'->pyeval())
catch
call assert_false(v:exception)
endtry