diff options
| author | bfredl <bjorn.linse@gmail.com> | 2022-01-27 08:32:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-27 08:32:52 +0100 |
| commit | 55ad48d93955462905622a42a460ffccd99aa77a (patch) | |
| tree | 7ecd3c9ce61c2ed86f3da5d14c5fa5c506bd211f /src/nvim/testdir/test_listlbr_utf8.vim | |
| parent | 47b50d5a1c8c9ffb330cbac817c0235bc6298457 (diff) | |
| parent | cb39c825c49c5557f8df5a1242907c49cacad4b1 (diff) | |
| download | rneovim-55ad48d93955462905622a42a460ffccd99aa77a.tar.gz rneovim-55ad48d93955462905622a42a460ffccd99aa77a.tar.bz2 rneovim-55ad48d93955462905622a42a460ffccd99aa77a.zip | |
Merge pull request #17155 from zeertzjq/vim-8.2.3121
vim-patch:8.2.{3121,3410}: two 'listchars' fixes
Diffstat (limited to 'src/nvim/testdir/test_listlbr_utf8.vim')
| -rw-r--r-- | src/nvim/testdir/test_listlbr_utf8.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_listlbr_utf8.vim b/src/nvim/testdir/test_listlbr_utf8.vim index c38e0c5f3c..1f100d6244 100644 --- a/src/nvim/testdir/test_listlbr_utf8.vim +++ b/src/nvim/testdir/test_listlbr_utf8.vim @@ -69,6 +69,16 @@ func Test_nolinebreak_with_list() call s:close_windows() endfunc +" this was causing a crash +func Test_linebreak_with_list_and_tabs() + set linebreak list listchars=tab:⇤\ ⇥ tabstop=100 + new + call setline(1, "\t\t\ttext") + redraw + bwipe! + set nolinebreak nolist listchars&vim tabstop=8 +endfunc + func Test_linebreak_with_nolist() call s:test_windows('setl nolist') call setline(1, "\t*mask = nil;") |