neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit a442c9f5564ff9690803faa92012e35541588294
parent 54d6a32fbdcbd5b26b72f4dca8906e60f5186d2c
Author: bfredl <bjorn.linse@gmail.com>
Date:   Mon, 12 Dec 2022 22:11:39 +0100

Merge pull request #21375 from nojnhuh/highlight-test

fix(tests): initialize Screen.colors in API highlight tests
Diffstat:
Mtest/functional/api/highlight_spec.lua | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/functional/api/highlight_spec.lua b/test/functional/api/highlight_spec.lua @@ -11,6 +11,9 @@ local ok = helpers.ok local assert_alive = helpers.assert_alive describe('API: highlight',function() + clear() + Screen.new() -- initialize Screen.colors + local expected_rgb = { background = Screen.colors.Yellow, foreground = Screen.colors.Red,