mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
refactor(tests): more global highlight definitions
This commit is contained in:
@@ -48,18 +48,14 @@ describe('cmdline', function()
|
||||
|
||||
it('redraws statusline when toggling overstrike', function()
|
||||
local screen = Screen.new(60, 4)
|
||||
screen:set_default_attr_ids({
|
||||
[0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText
|
||||
[1] = { reverse = true, bold = true }, -- StatusLine
|
||||
})
|
||||
screen:attach()
|
||||
command('set laststatus=2 statusline=%!mode(1)')
|
||||
feed(':')
|
||||
screen:expect {
|
||||
grid = [[
|
||||
|
|
||||
{0:~ }|
|
||||
{1:c }|
|
||||
{1:~ }|
|
||||
{3:c }|
|
||||
:^ |
|
||||
]],
|
||||
}
|
||||
@@ -67,8 +63,8 @@ describe('cmdline', function()
|
||||
screen:expect {
|
||||
grid = [[
|
||||
|
|
||||
{0:~ }|
|
||||
{1:cr }|
|
||||
{1:~ }|
|
||||
{3:cr }|
|
||||
:^ |
|
||||
]],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user