From a749759e66341696a08f5e1bc572b4ccb121281b Mon Sep 17 00:00:00 2001 From: Ellison Date: Sat, 23 Sep 2023 21:18:06 -0300 Subject: Adding Luacats annotations. (#276) * initial luacats annotations in init.lua file * fix test * adding more annotations - get_base_colors not depending on config anymore * fix test * adds emphasis option (#272) * adds emphasis option * add testing for emphasis option --------- Co-authored-by: Alex Koch * changed hl colors (#274) Co-authored-by: Ellison * adding more annotations - get_base_colors not depending on config anymore --------- Co-authored-by: Alex Koch Co-authored-by: Mezdelex <59997405+mezdelex@users.noreply.github.com> --- tests/gruvbox/gruvbox_spec.lua | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'tests') diff --git a/tests/gruvbox/gruvbox_spec.lua b/tests/gruvbox/gruvbox_spec.lua index 1934582..088e3aa 100644 --- a/tests/gruvbox/gruvbox_spec.lua +++ b/tests/gruvbox/gruvbox_spec.lua @@ -8,35 +8,6 @@ describe("setup", function() assert.are.same(gruvbox.config, default) end) - it("works with old italic values", function() - local expected = { - undercurl = true, - underline = true, - bold = true, - strikethrough = true, - italic = { - strings = true, - emphasis = true, - comments = true, - operators = false, - folds = true, - }, - inverse = true, - invert_selection = false, - invert_signs = false, - invert_tabline = false, - invert_intend_guides = false, - contrast = "", - palette_overrides = {}, - overrides = {}, - dim_inactive = false, - transparent_mode = false, - } - - gruvbox.setup({ italic = true }) - assert.are.same(gruvbox.config, expected) - end) - it("works with config overrides", function() local expected = { undercurl = false, -- cgit v1.2.3