diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-10 20:56:54 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-10 20:56:54 -0500 |
| commit | 1aec5ba85e97889c792253424c5de9c12ddd6cf4 (patch) | |
| tree | 62c78074f611cb812eb630f6e1c88eeabeae06bd /src/nvim/testdir/test_breakindent.vim | |
| parent | 61aea004d7101e138794a337c03ef00a6b3994e6 (diff) | |
| parent | 81b4c881302640747de39f805312966c541acc47 (diff) | |
| download | rneovim-1aec5ba85e97889c792253424c5de9c12ddd6cf4.tar.gz rneovim-1aec5ba85e97889c792253424c5de9c12ddd6cf4.tar.bz2 rneovim-1aec5ba85e97889c792253424c5de9c12ddd6cf4.zip | |
Merge pull request #13908 from janlazo/vim-8.2.2489
vim-patch:8.1.0341,8.2.{2489,2490,2492,2495,2496}
Diffstat (limited to 'src/nvim/testdir/test_breakindent.vim')
| -rw-r--r-- | src/nvim/testdir/test_breakindent.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_breakindent.vim b/src/nvim/testdir/test_breakindent.vim index a4c1f62a43..d53acb77d7 100644 --- a/src/nvim/testdir/test_breakindent.vim +++ b/src/nvim/testdir/test_breakindent.vim @@ -353,14 +353,19 @@ func Test_breakindent19_sbr_nextpage() " Scroll down one screen line setl scrolloff=5 norm! 5gj - redraw! let lines = s:screen_lines(1, 20) let expect = [ - \ "> aaaaaaaaaaaaaaaaaa", + \ "aaaaaaaaaaaaaaaaaaaa", \ "> aaaaaaaaaaaaaaaaaa", \ "> aaaaaaaaaaaaaaaaaa", \ ] call s:compare_lines(expect, lines) + redraw! + " moving the cursor doesn't change the text offset + norm! l + redraw! + let lines = s:screen_lines(1, 20) + call s:compare_lines(expect, lines) setl breakindent briopt=min:18 sbr=> norm! 5gj |