Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/gruvbox.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*gruvbox.nvim.txt* For Neovim >= 0.8.0 Last change: 2025 June 25
*gruvbox.nvim.txt* For Neovim >= 0.8.0 Last change: 2025 August 19

==============================================================================
Table of Contents *gruvbox.nvim-table-of-contents*
Expand Down
1 change: 1 addition & 0 deletions lua/gruvbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,7 @@ local function get_groups()
NeoTreeTitleBar = { fg = colors.fg1, bg = colors.bg2 },
NeoTreeDirectoryIcon = { link = "GruvboxGreen" },
NeoTreeDirectoryName = { link = "GruvboxGreenBold" },
NeoTreeSignColumn = { bg = "NONE" },
["@comment"] = { link = "Comment" },
["@none"] = { bg = "NONE", fg = "NONE" },
["@preproc"] = { link = "PreProc" },
Expand Down
15 changes: 15 additions & 0 deletions tests/gruvbox/gruvbox_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,19 @@ describe("tests", function()
assert.are.same(gruvbox.config.contrast, "")
assert.is_nil(gruvbox.config.overrides.Normal)
end)

it("should set NeoTreeSignColumn background to NONE", function()
gruvbox.setup()
gruvbox.load()

local group_id = vim.api.nvim_get_hl_id_by_name("NeoTreeSignColumn")
local values = {
bg = vim.fn.synIDattr(group_id, "bg", "gui"),
}

local expected = {
bg = "", -- "NONE" translates to empty string in synIDattr
}
assert.are.same(expected, values)
end)
end)
Loading