Skip to content

Commit

Permalink
fix(view): when calling open when the view is already open, do a refr…
Browse files Browse the repository at this point in the history
…esh. See #485
  • Loading branch information
folke committed Jun 6, 2024
1 parent 7a9c235 commit 39595e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/trouble/view/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ end

function M:open()
if self.win:valid() then
self:refresh()
return self
end
self
Expand Down

0 comments on commit 39595e8

Please sign in to comment.