diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-08-31 15:56:53 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-09-03 10:36:55 +0200 |
commit | 74937589d0bd821756709ce336f9168637f7dab8 (patch) | |
tree | a05311faef0212d7d5a73da1c466f28e084f489d /test/functional/ui/cmdline_spec.lua | |
parent | 10e885bdfc42322dee3312b4373dc8f6653d2412 (diff) | |
download | rneovim-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.lua | 5 |
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=[[ |