tokyonight.nvim
tokyonight.nvim copied to clipboard
Change background color of left-hand signs column (gutter)?
Thanks for the wonderful theme!
I want a different background color for the left-hand signs column (e.g., where gitsign symbols are displayed), but I failed to find an appropriate setting at https://github.com/folke/tokyonight.nvim/blob/main/lua/tokyonight/colors.lua.
My best guess was fg_gutter
, but this was obviously the wrong choice, because it changes parts of the the LuaLine background color:
Is there a way to configure a different background color for the sign column?
Hi! I just added a bunch of documentation on how to override colors & highlight groups.
The highligh group you prbably want to change is SignColumn
Thanks, this worked!
Here are more detailed instructions for other folks that come across this. The example below sets the background color of the signs column (gutter) to bright red.
require("tokyonight").setup({
on_highlights = function(hl, c)
hl.SignColumn = {
bg = "#ff0000",
}
end,
})