aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/matchparen_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/matchparen_spec.lua')
-rw-r--r--test/functional/legacy/matchparen_spec.lua32
1 files changed, 10 insertions, 22 deletions
diff --git a/test/functional/legacy/matchparen_spec.lua b/test/functional/legacy/matchparen_spec.lua
index 137448acbd..7b3f7bd424 100644
--- a/test/functional/legacy/matchparen_spec.lua
+++ b/test/functional/legacy/matchparen_spec.lua
@@ -12,11 +12,6 @@ describe('matchparen', function()
it('redraws properly after scrolling with scrolloff=1', function()
local screen = Screen.new(30, 7)
screen:attach()
- screen:set_default_attr_ids({
- [1] = { bold = true },
- [2] = { background = Screen.colors.LightGrey, foreground = Screen.colors.Black },
- })
-
exec([[
source $VIMRUNTIME/plugin/matchparen.vim
set scrolloff=1
@@ -26,13 +21,13 @@ describe('matchparen', function()
feed('V<c-d><c-d>')
screen:expect([[
- {2:{} |
- {2:}} |
- {2:{} |
- {2:f} |
+ {17:{} |
+ {17:}} |
+ {17:{} |
+ {17:f} |
^g |
} |
- {1:-- VISUAL LINE --} |
+ {5:-- VISUAL LINE --} |
]])
end)
@@ -116,13 +111,6 @@ describe('matchparen', function()
it('is cleared when completion popup is shown', function()
local screen = Screen.new(30, 9)
screen:attach()
- screen:set_default_attr_ids({
- [0] = { bold = true, foreground = Screen.colors.Blue },
- [1] = { background = Screen.colors.Plum1 },
- [2] = { background = Screen.colors.Grey },
- [3] = { bold = true },
- [4] = { bold = true, foreground = Screen.colors.SeaGreen },
- })
exec([[
source $VIMRUNTIME/plugin/matchparen.vim
@@ -138,11 +126,11 @@ describe('matchparen', function()
aaa |
aaaa |
(aaa^) |
- {1: aa }{0: }|
- {2: aaa }{0: }|
- {1: aaaa }{0: }|
- {0:~ }|
- {3:-- }{4:match 2 of 3} |
+ {4: aa }{1: }|
+ {12: aaa }{1: }|
+ {4: aaaa }{1: }|
+ {1:~ }|
+ {5:-- }{6:match 2 of 3} |
]],
}
end)