Skip to content

Commit

Permalink
fix: toggle_current_line_blame
Browse files Browse the repository at this point in the history
Fixes #1072
  • Loading branch information
lewis6991 committed Jun 27, 2024
1 parent fa42613 commit 0e39e9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/gitsigns/current_line_blame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,12 @@ function M.setup()
reset(k)
end

local group = api.nvim_create_augroup('gitsigns_blame', {})

if not config.current_line_blame then
return
end

local group = api.nvim_create_augroup('gitsigns_blame', {})
local opts = config.current_line_blame_opts
M.update = debounce.debounce_trailing(opts.delay, update)

Expand Down

0 comments on commit 0e39e9a

Please sign in to comment.