Skip to content

Commit

Permalink
fix(qf): update qflist on TextChanged to update pos. Fixes #201
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 91cab16 commit c1d9294
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 @@ -25,7 +25,7 @@ M.config = {
modes = {
qflist = {
desc = "Quickfix List",
events = { "BufEnter", "QuickFixCmdPost" },
events = { "BufEnter", "QuickFixCmdPost", "TextChanged" },
source = "qf.qflist",
groups = {
{ "filename", format = "{file_icon} {filename} {count}" },
Expand All @@ -35,7 +35,7 @@ M.config = {
},
loclist = {
desc = "Location List",
events = { "BufEnter" },
events = { "BufEnter", "TextChanged" },
source = "qf.loclist",
groups = {
{ "filename", format = "{file_icon} {filename} {count}" },
Expand Down

0 comments on commit c1d9294

Please sign in to comment.