Skip to content

Commit

Permalink
fix(highlights): reset statusline hl groups when colorscheme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 5a897f4 commit a665272
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/trouble/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ M.colors = {
function M.setup()
M.link(M.colors)
M.source("fs")
vim.api.nvim_create_autocmd("ColorScheme", {
callback = function()
M._fixed = {}
end,
})
end

---@param prefix? string
Expand Down

0 comments on commit a665272

Please sign in to comment.