Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Apr 4, 2024
1 parent f0733b7 commit fa052c2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lua/gitsigns/current_line_blame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,16 @@ function M.setup()
end

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

api.nvim_create_autocmd({ 'InsertEnter', 'FocusLost', 'BufLeave' }, {
group = group,
Expand Down

0 comments on commit fa052c2

Please sign in to comment.