Skip to content

Commit

Permalink
fix(toggle_current_line_blame): check signs_normal is not nil
Browse files Browse the repository at this point in the history
  • Loading branch information
gersonsosa authored and lewis6991 committed May 19, 2023
1 parent 814158f commit c18b7ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lua/gitsigns/manager.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion teal/gitsigns/manager.tl
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,9 @@ end

function M.reset_signs()
-- Remove all signs
signs_normal:reset()
if signs_normal then
signs_normal:reset()
end
if signs_staged then
signs_staged:reset()
end
Expand Down

0 comments on commit c18b7ca

Please sign in to comment.