aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/fold_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-15 11:17:21 +0800
committerGitHub <noreply@github.com>2024-02-15 11:17:21 +0800
commitb76a01055f2d1d616f6642b9919851e4ffe5ad40 (patch)
treeec37101abea724286967f973bd3bf73fe432bd0d /test/functional/ui/fold_spec.lua
parentd09957e0a06f350443c750d9838b5f1016c0cccc (diff)
parent31b3c62845fe7da41eed0089990e1540b9a41053 (diff)
downloadrneovim-b76a01055f2d1d616f6642b9919851e4ffe5ad40.tar.gz
rneovim-b76a01055f2d1d616f6642b9919851e4ffe5ad40.tar.bz2
rneovim-b76a01055f2d1d616f6642b9919851e4ffe5ad40.zip
Merge pull request #27474 from zeertzjq/vim-9.1.0068
vim-patch:9.1.{0068,0106}: Visual highlighting can be improved
Diffstat (limited to 'test/functional/ui/fold_spec.lua')
-rw-r--r--test/functional/ui/fold_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/fold_spec.lua b/test/functional/ui/fold_spec.lua
index 01f08cd6f7..7f13b6bd03 100644
--- a/test/functional/ui/fold_spec.lua
+++ b/test/functional/ui/fold_spec.lua
@@ -44,7 +44,7 @@ describe('folded lines', function()
[13] = { foreground = Screen.colors.Red, background = Screen.colors.LightGrey },
[14] = { background = Screen.colors.Red },
[15] = { foreground = Screen.colors.DarkBlue, background = Screen.colors.Red },
- [16] = { background = Screen.colors.LightGrey },
+ [16] = { foreground = Screen.colors.Black, background = Screen.colors.LightGrey },
[17] = { background = Screen.colors.Yellow, foreground = Screen.colors.Red },
[18] = {
background = Screen.colors.LightGrey,
@@ -2254,7 +2254,7 @@ describe('folded lines', function()
end)
it('Folded and Visual highlights are combined #19691', function()
- command('hi! Visual guibg=Red')
+ command('hi! Visual guifg=NONE guibg=Red')
insert([[
" foofoofoofoofoofoo
" 口 {{{1
@@ -2563,7 +2563,7 @@ describe('folded lines', function()
eq('▶--\tsentence composed by', fn.foldtextresult(3))
eq('▶--\tin his cave.', fn.foldtextresult(5))
- command('hi! Visual guibg=Red')
+ command('hi! Visual guifg=NONE guibg=Red')
feed('V2k')
if multigrid then
screen:expect([[
@@ -2677,7 +2677,7 @@ describe('folded lines', function()
]])
end
- command('hi! Visual guibg=Red')
+ command('hi! Visual guifg=NONE guibg=Red')
feed('V2k')
if multigrid then
screen:expect([[