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/legacy/display_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/legacy/display_spec.lua')
-rw-r--r-- | test/functional/legacy/display_spec.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/legacy/display_spec.lua b/test/functional/legacy/display_spec.lua index ab6b1906c5..b44e1fd601 100644 --- a/test/functional/legacy/display_spec.lua +++ b/test/functional/legacy/display_spec.lua @@ -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([[ |