diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:18 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-01-03 02:09:29 +0100 |
commit | 04f2f864e270e772c6326cefdf24947f0130e492 (patch) | |
tree | 46f83f909b888a66c741032ab955afc6eab84292 /test/functional/ui/sign_spec.lua | |
parent | 59d117ec99b6037cb9fad5bbfb6d0b18f5012927 (diff) | |
download | rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.gz rneovim-04f2f864e270e772c6326cefdf24947f0130e492.tar.bz2 rneovim-04f2f864e270e772c6326cefdf24947f0130e492.zip |
refactor: format test/*
Diffstat (limited to 'test/functional/ui/sign_spec.lua')
-rw-r--r-- | test/functional/ui/sign_spec.lua | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/functional/ui/sign_spec.lua b/test/functional/ui/sign_spec.lua index c07db8d3de..53fa4b6d65 100644 --- a/test/functional/ui/sign_spec.lua +++ b/test/functional/ui/sign_spec.lua @@ -9,20 +9,20 @@ describe('Signs', function() clear() screen = Screen.new() screen:attach() - screen:set_default_attr_ids( { - [0] = {bold=true, foreground=255}, - [1] = {background = Screen.colors.Yellow}, - [2] = {foreground = Screen.colors.DarkBlue, background = Screen.colors.Grey}, - [3] = {background = Screen.colors.Gray90}, - [4] = {bold = true, reverse = true}, - [5] = {reverse = true}, - [6] = {foreground = Screen.colors.Brown}, - [7] = {foreground = Screen.colors.DarkBlue, background = Screen.colors.LightGrey}, - [8] = {foreground = Screen.colors.Grey100, background = Screen.colors.Red}, - [9] = {bold = true, foreground = Screen.colors.Magenta}, - [10] = {foreground = Screen.colors.Blue1}, - [11] = {bold = true, foreground = Screen.colors.SeaGreen4}, - } ) + screen:set_default_attr_ids({ + [0] = { bold = true, foreground = 255 }, + [1] = { background = Screen.colors.Yellow }, + [2] = { foreground = Screen.colors.DarkBlue, background = Screen.colors.Grey }, + [3] = { background = Screen.colors.Gray90 }, + [4] = { bold = true, reverse = true }, + [5] = { reverse = true }, + [6] = { foreground = Screen.colors.Brown }, + [7] = { foreground = Screen.colors.DarkBlue, background = Screen.colors.LightGrey }, + [8] = { foreground = Screen.colors.Grey100, background = Screen.colors.Red }, + [9] = { bold = true, foreground = Screen.colors.Magenta }, + [10] = { foreground = Screen.colors.Blue1 }, + [11] = { bold = true, foreground = Screen.colors.SeaGreen4 }, + }) end) describe(':sign place', function() @@ -468,7 +468,7 @@ describe('Signs', function() end) it('signcolumn width is updated when removing all signs after deleting lines', function() - meths.buf_set_lines(0, 0, 1, true, {'a', 'b', 'c', 'd', 'e'}) + meths.buf_set_lines(0, 0, 1, true, { 'a', 'b', 'c', 'd', 'e' }) exec('sign define piet text=>>') exec('sign place 10001 line=1 name=piet') exec('sign place 10002 line=5 name=piet') @@ -494,7 +494,7 @@ describe('Signs', function() end) it('signcolumn width is updated when removing all signs after inserting lines', function() - meths.buf_set_lines(0, 0, 1, true, {'a', 'b', 'c', 'd', 'e'}) + meths.buf_set_lines(0, 0, 1, true, { 'a', 'b', 'c', 'd', 'e' }) exec('sign define piet text=>>') exec('sign place 10001 line=1 name=piet') exec('sign place 10002 line=5 name=piet') |