Skip to content

Commit

Permalink
feat(window): added possibility to override TroubleNormalNC. Fixes #216
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 4c07228 commit daa5157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/trouble/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ local M = {}
M.colors = {
-- General
Normal = "NormalFloat",
NormalNC = "NormalFloat",
Text = "Normal",
Preview = "Visual",

Expand Down
2 changes: 1 addition & 1 deletion lua/trouble/view/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ local minimal = {
statuscolumn = "",
winfixheight = true,
winfixwidth = true,
winhighlight = "Normal:TroubleNormal,EndOfBuffer:TroubleNormal",
winhighlight = "Normal:TroubleNormal,NormalNC:TroubleNormalNC,EndOfBuffer:TroubleNormal",
wrap = false,
},
}
Expand Down

0 comments on commit daa5157

Please sign in to comment.