Skip to content

Commit

Permalink
feat(qf): add treesitter highlighting to quickfix/loclist. Fixes #441
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 74e31e7 commit 325d681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/trouble/sources/qf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ M.config = {
{ "filename", format = "{file_icon} {filename} {count}" },
},
sort = { "severity", "filename", "pos", "message" },
format = "{severity_icon|item.type:DiagnosticSignWarn} {text} {pos}",
format = "{severity_icon|item.type:DiagnosticSignWarn} {text:ts} {pos}",
},
loclist = {
desc = "Location List",
Expand All @@ -41,7 +41,7 @@ M.config = {
{ "filename", format = "{file_icon} {filename} {count}" },
},
sort = { "severity", "filename", "pos", "message" },
format = "{severity_icon|item.type:DiagnosticSignWarn} {text} {pos}",
format = "{severity_icon|item.type:DiagnosticSignWarn} {text:ts} {pos}",
},
},
}
Expand Down

0 comments on commit 325d681

Please sign in to comment.