aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/cmdline_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-08-31 15:56:53 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-09-03 10:36:55 +0200
commit74937589d0bd821756709ce336f9168637f7dab8 (patch)
treea05311faef0212d7d5a73da1c466f28e084f489d /test/functional/ui/cmdline_spec.lua
parent10e885bdfc42322dee3312b4373dc8f6653d2412 (diff)
downloadrneovim-74937589d0bd821756709ce336f9168637f7dab8.tar.gz
rneovim-74937589d0bd821756709ce336f9168637f7dab8.tar.bz2
rneovim-74937589d0bd821756709ce336f9168637f7dab8.zip
screen.lua: extend snapshot_util() to work with extension state
Simplify handling of attributes: collect new attributes in the same pass as screen lines are rendered, instead of using two passes.
Diffstat (limited to 'test/functional/ui/cmdline_spec.lua')
-rw-r--r--test/functional/ui/cmdline_spec.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua
index bf8cae3a0b..d39b24a00f 100644
--- a/test/functional/ui/cmdline_spec.lua
+++ b/test/functional/ui/cmdline_spec.lua
@@ -510,12 +510,7 @@ local function test_cmdline(newgrid)
screen:set_default_attr_ids({
RBP1={background = Screen.colors.Red},
RBP2={background = Screen.colors.Yellow},
- RBP3={background = Screen.colors.Green},
- RBP4={background = Screen.colors.Blue},
EOB={bold = true, foreground = Screen.colors.Blue1},
- ERR={foreground = Screen.colors.Grey100, background = Screen.colors.Red},
- SK={foreground = Screen.colors.Blue},
- PE={bold = true, foreground = Screen.colors.SeaGreen4}
})
feed('<f5>(a(b)a)')
screen:expect{grid=[[