Skip to content
Open
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,7 @@ The table below shows all the highlight groups defined for Trouble.
| **TroubleBasename** | ***TroubleFilename*** | |
| **TroubleCode** | ***Special*** | |
| **TroubleCount** | ***TabLineSel*** | |
| **TroubleCursorLine** | ***CursorLine*** | |
| **TroubleDirectory** | ***Directory*** | |
| **TroubleFilename** | ***Directory*** | |
| **TroubleIconArray** | ***@punctuation.bracket*** | |
Expand Down
1 change: 1 addition & 0 deletions doc/trouble.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ Highlight Groups ~
TroubleBasename TroubleFilename
TroubleCode Special
TroubleCount TabLineSel
TroubleCursorLine CursorLine
TroubleDirectory Directory
TroubleFilename Directory
TroubleIconArray @punctuation.bracket
Expand Down
1 change: 1 addition & 0 deletions lua/trouble/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ M.colors = {
NormalNC = "NormalFloat",
Text = "Normal",
Preview = "Visual",
CursorLine = "CursorLine",

-- Item
Filename = "Directory",
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 @@ -128,7 +128,7 @@ local minimal = {
statuscolumn = "",
winfixheight = true,
winfixwidth = true,
winhighlight = "Normal:TroubleNormal,NormalNC:TroubleNormalNC,EndOfBuffer:TroubleNormal",
winhighlight = "Normal:TroubleNormal,NormalNC:TroubleNormalNC,EndOfBuffer:TroubleNormal,CursorLine:TroubleCursorLine",
wrap = false,
},
}
Expand Down
Loading