mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
refactor: format test/*
This commit is contained in:
@@ -236,16 +236,16 @@ describe("'inccommand' for user commands", function()
|
||||
clear()
|
||||
screen = Screen.new(40, 17)
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {background = Screen.colors.Yellow1},
|
||||
[2] = {foreground = Screen.colors.Blue1, bold = true},
|
||||
[3] = {reverse = true},
|
||||
[4] = {reverse = true, bold = true},
|
||||
[5] = {foreground = Screen.colors.Blue},
|
||||
[1] = { background = Screen.colors.Yellow1 },
|
||||
[2] = { foreground = Screen.colors.Blue1, bold = true },
|
||||
[3] = { reverse = true },
|
||||
[4] = { reverse = true, bold = true },
|
||||
[5] = { foreground = Screen.colors.Blue },
|
||||
})
|
||||
screen:attach()
|
||||
exec_lua(setup_replace_cmd)
|
||||
command('set cmdwinheight=5')
|
||||
insert[[
|
||||
insert [[
|
||||
text on line 1
|
||||
more text on line 2
|
||||
oh no, even more text
|
||||
@@ -504,21 +504,21 @@ describe("'inccommand' with multiple buffers", function()
|
||||
clear()
|
||||
screen = Screen.new(40, 17)
|
||||
screen:set_default_attr_ids({
|
||||
[1] = {background = Screen.colors.Yellow1},
|
||||
[2] = {foreground = Screen.colors.Blue1, bold = true},
|
||||
[3] = {reverse = true},
|
||||
[4] = {reverse = true, bold = true}
|
||||
[1] = { background = Screen.colors.Yellow1 },
|
||||
[2] = { foreground = Screen.colors.Blue1, bold = true },
|
||||
[3] = { reverse = true },
|
||||
[4] = { reverse = true, bold = true },
|
||||
})
|
||||
screen:attach()
|
||||
exec_lua(setup_replace_cmd)
|
||||
command('set cmdwinheight=10')
|
||||
insert[[
|
||||
insert [[
|
||||
foo bar baz
|
||||
bar baz foo
|
||||
baz foo bar
|
||||
]]
|
||||
command('vsplit | enew')
|
||||
insert[[
|
||||
insert [[
|
||||
bar baz foo
|
||||
baz foo bar
|
||||
foo bar baz
|
||||
|
||||
Reference in New Issue
Block a user