Skip to content

Commit

Permalink
fix: stop
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 2caf73d commit bda8de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/view/section.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function M:main()
end

function M:stop()
vim.api.nvim_del_augroup_by_name("trouble-section-" .. self.id)
pcall(vim.api.nvim_del_augroup_by_name, "trouble-section-" .. self.id)
end

function M:listen()
Expand Down

0 comments on commit bda8de4

Please sign in to comment.