diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-10-31 18:10:46 +0000 |
|---|---|---|
| committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-26 18:52:58 +0000 |
| commit | 2ee0bc09d9becd71ca864b4d754b63b152d1ce5b (patch) | |
| tree | 0cef8da1a6dba83e4d2272cec4ba162fcdc8b770 /src/nvim/testdir/test_expr.vim | |
| parent | aad25ae4fc3fdfdf2c23009406cf3f806a2c272d (diff) | |
| download | rneovim-2ee0bc09d9becd71ca864b4d754b63b152d1ce5b.tar.gz rneovim-2ee0bc09d9becd71ca864b4d754b63b152d1ce5b.tar.bz2 rneovim-2ee0bc09d9becd71ca864b4d754b63b152d1ce5b.zip | |
feat(eval/method): partially port v8.1.1996
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/aad222c9c9a1e4fe6ae5a1fe95bb084619be0e65
Partial port as this does not include eval.txt change for listener_add.
Cherry-pick eval.txt changes for:
- bufadd from v8.1.1626:
https://github.com/vim/vim/commit/5ca1ac373ae62b37152cb6f85916b402eda520a5
- setloclist and setqflist headers from:
https://github.com/vim/vim/commit/b0d45e7f5354375edd02afafde3bd37dac1515ff
Correct eval.txt typo for settabwinvar method call (matches latest Vim).
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
| -rw-r--r-- | src/nvim/testdir/test_expr.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index 6343c47fde..a8cf6577f6 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -493,7 +493,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 |