mirror of
https://github.com/lewis6991/gitsigns.nvim
synced 2024-09-16 14:34:09 +02:00
fix(blame): show current buffer line blame immediately
fix a problem caused by commit: 8df63f2ddc
This commit is contained in:
parent
0595724fa9
commit
6b1a14eabc
1 changed files with 3 additions and 0 deletions
|
@ -223,6 +223,9 @@ function M.setup()
|
|||
local opts = config.current_line_blame_opts
|
||||
M.update = debounce.debounce_trailing(opts.delay, update)
|
||||
|
||||
-- show current buffer line blame immediately
|
||||
M.update(api.nvim_get_current_buf())
|
||||
|
||||
local events = { 'FocusGained', 'BufEnter', 'CursorMoved', 'CursorMovedI' }
|
||||
if vim.fn.exists('#WinResized') == 1 then
|
||||
-- For nvim 0.9+
|
||||
|
|
Loading…
Reference in a new issue