1
0
forked from aniani/vim

patch 8.1.1996: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make various functions usable as a method.
This commit is contained in:
Bram Moolenaar
2019-09-06 22:46:09 +02:00
parent 93476fd634
commit aad222c9c9
13 changed files with 85 additions and 34 deletions

View File

@@ -504,7 +504,7 @@ func Test_setmatches()
let set[0]['conceal'] = 5
let exp[0]['conceal'] = '5'
endif
call setmatches(set)
eval set->setmatches()
call assert_equal(exp, getmatches())
endfunc