diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-09 23:26:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-09 23:26:40 +0100 |
commit | ee85702c10495041791f728e977b86005c4496e8 (patch) | |
tree | ad3a4d7d4d477299da5349d8b9d234243ca33d66 /src/testdir/test_breakindent.vim | |
parent | b0745b221d284e381f1bd4b591cd68ea54b6a51d (diff) | |
download | vim-git-ee85702c10495041791f728e977b86005c4496e8.tar.gz |
patch 8.1.2281: 'showbreak' cannot be set for one windowv8.1.2281
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
Diffstat (limited to 'src/testdir/test_breakindent.vim')
-rw-r--r-- | src/testdir/test_breakindent.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testdir/test_breakindent.vim b/src/testdir/test_breakindent.vim index 90c0ca5af..ee61cbc9d 100644 --- a/src/testdir/test_breakindent.vim +++ b/src/testdir/test_breakindent.vim @@ -62,7 +62,8 @@ endfunc func Test_breakindent02() " simple breakindent test with showbreak set - call s:test_windows('setl briopt=min:0 sbr=>>') + set sbr=>> + call s:test_windows('setl briopt=min:0 sbr=') let lines = s:screen_lines(line('.'),8) let expect = [ \ " abcd", @@ -122,7 +123,8 @@ endfunc func Test_breakindent04() " breakindent set with min width 18 - call s:test_windows('setl sbr= briopt=min:18') + set sbr=<<< + call s:test_windows('setl sbr=NONE briopt=min:18') let lines = s:screen_lines(line('.'),8) let expect = [ \ " abcd", @@ -132,6 +134,7 @@ func Test_breakindent04() call s:compare_lines(expect, lines) " clean up call s:close_windows('set sbr=') + set sbr= endfunc func Test_breakindent04_vartabs() |