Skip to content

Commit 37e4e03

Browse files
committed
patch 8.2.1903: buffer test fails with normal features
Problem: Buffer test fails with normal features. Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
1 parent e974fa7 commit 37e4e03

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/testdir/test_buffer.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,11 @@ endfunc
364364

365365
func Test_badd_options()
366366
new SomeNewBuffer
367-
setlocal cole=3
367+
setlocal numberwidth=3
368368
wincmd p
369369
badd SomeNewBuffer
370370
new SomeNewBuffer
371-
call assert_equal(3, &cole)
371+
call assert_equal(3, &numberwidth)
372372
close
373373
close
374374
bwipe! SomeNewBuffer

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
1903,
753755
/**/
754756
1902,
755757
/**/

0 commit comments

Comments
 (0)