aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/inccommand_user_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:18 +0100
committerJustin M. Keyes <justinkz@gmail.com>2024-01-03 02:09:29 +0100
commit04f2f864e270e772c6326cefdf24947f0130e492 (patch)
tree46f83f909b888a66c741032ab955afc6eab84292 /test/functional/ui/inccommand_user_spec.lua
parent59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff)
downloadrneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2
rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip
refactor: format test/*
Diffstat (limited to 'test/functional/ui/inccommand_user_spec.lua')
-rw-r--r--test/functional/ui/inccommand_user_spec.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/functional/ui/inccommand_user_spec.lua b/test/functional/ui/inccommand_user_spec.lua
index 20e9dbdafa..d30575a9f9 100644
--- a/test/functional/ui/inccommand_user_spec.lua
+++ b/test/functional/ui/inccommand_user_spec.lua
@@ -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