aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEllison <ellisonleao@gmail.com>2023-09-23 21:18:06 -0300
committerGitHub <noreply@github.com>2023-09-23 21:18:06 -0300
commita749759e66341696a08f5e1bc572b4ccb121281b (patch)
tree4bfcca677650fe4ab329d0c1b1766e4eead9dad0 /tests
parentfc2b7df3d8384e1ba32d0c5d515931f5ea366eb1 (diff)
downloadgruvbox-a749759e66341696a08f5e1bc572b4ccb121281b.tar.gz
gruvbox-a749759e66341696a08f5e1bc572b4ccb121281b.tar.xz
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 <alex.koch@entrust.com> * changed hl colors (#274) Co-authored-by: Ellison <ellisonleao@gmail.com> * adding more annotations - get_base_colors not depending on config anymore --------- Co-authored-by: Alex Koch <alex.koch@entrust.com> Co-authored-by: Mezdelex <59997405+mezdelex@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gruvbox/gruvbox_spec.lua29
1 files changed, 0 insertions, 29 deletions
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,