Mercurial > vim
diff src/testdir/test_listchars.vim @ 18035:11dca9732a48 v8.1.2013
patch 8.1.2013: more functions can be used as methods
Commit: https://github.com/vim/vim/commit/f92e58cadb03156879e9bdbf6341bf662d9c87cc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 8 21:51:41 2019 +0200
patch 8.1.2013: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Sep 2019 22:00:04 +0200 |
parents | a51ccadd0dca |
children | 08940efa6b4e |
line wrap: on
line diff
--- a/src/testdir/test_listchars.vim +++ b/src/testdir/test_listchars.vim @@ -25,7 +25,7 @@ func Test_listchars() redraw! for i in range(1, 5) call cursor(i, 1) - call assert_equal([expected[i - 1]], ScreenLines(i, virtcol('$'))) + call assert_equal([expected[i - 1]], ScreenLines(i, '$'->virtcol())) endfor set listchars-=trail:<