fix: toggle_current_line_blame

Fixes #1072
This commit is contained in:
Lewis Russell 2024-06-27 09:53:36 +01:00
parent fa42613096
commit 0e39e9afcf

View file

@ -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)