Skip to content

Commit

Permalink
fix(current_line_blame): update on WinResized
Browse files Browse the repository at this point in the history
Fixes #966
  • Loading branch information
lewis6991 committed Apr 4, 2024
1 parent 826ad69 commit f0733b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitsigns/current_line_blame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function M.setup()
end

if config.current_line_blame then
api.nvim_create_autocmd({ 'FocusGained', 'BufEnter', 'CursorMoved', 'CursorMovedI' }, {
api.nvim_create_autocmd({ 'WinResized', 'FocusGained', 'BufEnter', 'CursorMoved', 'CursorMovedI' }, {
group = group,
callback = function(args)
reset(args.buf)
Expand Down

0 comments on commit f0733b7

Please sign in to comment.