mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor: format test/*
This commit is contained in:
@@ -14,7 +14,7 @@ describe('display', function()
|
||||
local screen = Screen.new(20, 4)
|
||||
screen:attach()
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {bold = true},
|
||||
[1] = { bold = true },
|
||||
})
|
||||
|
||||
command([[call setline(1, repeat('a', 21))]])
|
||||
@@ -32,9 +32,9 @@ describe('display', function()
|
||||
local screen = Screen.new(60, 8)
|
||||
screen:attach()
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {bold = true}, -- ModeMsg
|
||||
[2] = {background = Screen.colors.LightGrey}, -- Visual
|
||||
[3] = {background = Screen.colors.Grey, foreground = Screen.colors.DarkBlue}, -- SignColumn
|
||||
[1] = { bold = true }, -- ModeMsg
|
||||
[2] = { background = Screen.colors.LightGrey }, -- Visual
|
||||
[3] = { background = Screen.colors.Grey, foreground = Screen.colors.DarkBlue }, -- SignColumn
|
||||
})
|
||||
|
||||
exec([[
|
||||
@@ -56,9 +56,9 @@ describe('display', function()
|
||||
local function run_test_display_lastline(euro)
|
||||
local screen = Screen.new(75, 10)
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {bold = true, foreground = Screen.colors.Blue}, -- NonText
|
||||
[2] = {bold = true, reverse = true}, -- StatusLine
|
||||
[3] = {reverse = true}, -- StatusLineNC
|
||||
[1] = { bold = true, foreground = Screen.colors.Blue }, -- NonText
|
||||
[2] = { bold = true, reverse = true }, -- StatusLine
|
||||
[3] = { reverse = true }, -- StatusLineNC
|
||||
})
|
||||
screen:attach()
|
||||
exec([[
|
||||
|
||||
Reference in New Issue
Block a user