aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/highlight_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-27 23:30:49 +0100
committerGitHub <noreply@github.com>2022-11-27 23:30:49 +0100
commit28e6fe85a78e0c7109d823db3057568f6f1b7355 (patch)
tree97660b67740882f34d3568531475b9b5a2098182 /test/functional/ui/highlight_spec.lua
parent3098064f332ffbc59c342545402e2d2da798a458 (diff)
parent942f26279d373fcdebcb41363e526a2871b09a71 (diff)
downloadrneovim-28e6fe85a78e0c7109d823db3057568f6f1b7355.tar.gz
rneovim-28e6fe85a78e0c7109d823db3057568f6f1b7355.tar.bz2
rneovim-28e6fe85a78e0c7109d823db3057568f6f1b7355.zip
Merge pull request #21204 from bfredl/colormap
fix(tests): only get the color map once, even for multiple test files
Diffstat (limited to 'test/functional/ui/highlight_spec.lua')
-rw-r--r--test/functional/ui/highlight_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua
index bcb437a55d..8dd1091353 100644
--- a/test/functional/ui/highlight_spec.lua
+++ b/test/functional/ui/highlight_spec.lua
@@ -1403,7 +1403,7 @@ describe('ColorColumn highlight', function()
before_each(function()
clear()
screen = Screen.new(40, 15)
- Screen:set_default_attr_ids({
+ screen:set_default_attr_ids({
[1] = {background = Screen.colors.LightRed}, -- ColorColumn
[2] = {background = Screen.colors.Grey90}, -- CursorLine
[3] = {foreground = Screen.colors.Brown}, -- LineNr