aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-24 11:10:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-24 11:10:37 +0800
commit1b184cea3b6d93fddb34a77fa2ddaf3bca8d1bb7 (patch)
treee62ab6ef518435cb646362cac2ccbef405db770e
parent7e2ce35e3b7f8be5e8d01b44c2fdba0b4e23fbd4 (diff)
downloadrneovim-1b184cea3b6d93fddb34a77fa2ddaf3bca8d1bb7.tar.gz
rneovim-1b184cea3b6d93fddb34a77fa2ddaf3bca8d1bb7.tar.bz2
rneovim-1b184cea3b6d93fddb34a77fa2ddaf3bca8d1bb7.zip
vim-patch:8.2.4190: all conceal tests are skipped without the screendumps feature
Problem: All conceal tests are skipped without the screendumps feature. Solution: Only skip the tests that use screendumps. (closes vim/vim#9599) https://github.com/vim/vim/commit/206919191fe1881dea00d60d392cc68a07c0106f
-rw-r--r--src/nvim/testdir/test_conceal.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_conceal.vim b/src/nvim/testdir/test_conceal.vim
index 1306dbe5cf..bffc2f49d3 100644
--- a/src/nvim/testdir/test_conceal.vim
+++ b/src/nvim/testdir/test_conceal.vim
@@ -4,10 +4,10 @@ source check.vim
CheckFeature conceal
source screendump.vim
-" CheckScreendump
func Test_conceal_two_windows()
CheckScreendump
+
let code =<< trim [CODE]
let lines = ["one one one one one", "two |hidden| here", "three |hidden| three"]
call setline(1, lines)
@@ -111,6 +111,7 @@ endfunc
func Test_conceal_with_cursorline()
CheckScreendump
+
" Opens a help window, where 'conceal' is set, switches to the other window
" where 'cursorline' needs to be updated when the cursor moves.
let code =<< trim [CODE]
@@ -139,6 +140,7 @@ endfunc
func Test_conceal_resize_term()
CheckScreendump
+
let code =<< trim [CODE]
call setline(1, '`one` `two` `three` `four` `five`, the backticks should be concealed')
setl cocu=n cole=3