aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-13 13:49:42 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-13 13:50:00 -0500
commita2aeed013c131fc98ec135299a2c6f239b1b01eb (patch)
tree785017b32a845f36fc22352c00c9aec721eed080
parent6855a55d5360b524902b21d1c68077b8aa351768 (diff)
downloadrneovim-a2aeed013c131fc98ec135299a2c6f239b1b01eb.tar.gz
rneovim-a2aeed013c131fc98ec135299a2c6f239b1b01eb.tar.bz2
rneovim-a2aeed013c131fc98ec135299a2c6f239b1b01eb.zip
vim-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. https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b
-rw-r--r--src/nvim/testdir/test_buffer.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim
index 99a64694da..4de11af6f1 100644
--- a/src/nvim/testdir/test_buffer.vim
+++ b/src/nvim/testdir/test_buffer.vim
@@ -13,11 +13,11 @@ endfunc
func Test_badd_options()
new SomeNewBuffer
- setlocal cole=3
+ setlocal numberwidth=3
wincmd p
badd SomeNewBuffer
new SomeNewBuffer
- call assert_equal(3, &cole)
+ call assert_equal(3, &numberwidth)
close
close
bwipe! SomeNewBuffer