aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-08-01 07:09:51 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-08-02 05:41:17 +0800
commit56b437a6c7a050921653a0d9e091777682db31ea (patch)
tree4c4037d4956c6be80c6baddbb2b244423c60eccc /src/nvim/testdir
parent1666fe9dfe08201c92271b7a59fb2f96a20eb8db (diff)
downloadrneovim-56b437a6c7a050921653a0d9e091777682db31ea.tar.gz
rneovim-56b437a6c7a050921653a0d9e091777682db31ea.tar.bz2
rneovim-56b437a6c7a050921653a0d9e091777682db31ea.zip
vim-patch:8.1.2117: CursorLine highlight used while 'cursorline' is off
Problem: CursorLine highlight used while 'cursorline' is off. Solution: Check 'cursorline' is set. (cloes vim/vim#5017) https://github.com/vim/vim/commit/49474ca12236776bb56aeb9d39bd6592e28157c7
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_cursorline.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_cursorline.vim b/src/nvim/testdir/test_cursorline.vim
index 49df94f906..d4a03afd38 100644
--- a/src/nvim/testdir/test_cursorline.vim
+++ b/src/nvim/testdir/test_cursorline.vim
@@ -52,7 +52,7 @@ func Test_cursorline_highlight1()
setl nocursorline relativenumber
redraw
let attr31 = s:screen_attr(1)
- call assert_equal(attr21[0:3], attr31[0:3])
+ call assert_equal(attr22[0:3], attr31[0:3])
call assert_equal(attr11[4:7], attr31[4:7])
call s:close_windows()