Skip to content

Commit

Permalink
fix(highlights): link TroubleBasename to TroubleFilename. Fixes #507
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 14, 2024
1 parent 02809ce commit 276e7b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/trouble/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ M.colors = {
Preview = "Visual",

-- Item
FileName = "Directory",
Filename = "Directory",
Basename = "TroubleFilename",
Directory = "Directory",
IconDirectory = "Special",
Source = "Comment",
Expand Down Expand Up @@ -82,7 +83,8 @@ end
function M.source(source, links)
---@type table<string, string>
links = vim.tbl_extend("force", {
FileName = "TroubleFileName",
Filename = "TroubleFilename",
Basename = "TroubleFilename",
Source = "TroubleSource",
Pos = "TroublePos",
Count = "TroubleCount",
Expand Down

0 comments on commit 276e7b7

Please sign in to comment.