mirror of
https://github.com/lewis6991/gitsigns.nvim
synced 2025-02-15 19:56:52 +00:00
parent
81369ed540
commit
1a50b94066
@ -228,6 +228,9 @@ end
|
||||
--- @return Gitsigns.Hunk.Hunk?
|
||||
local function get_hunk(bufnr, range, greedy, staged)
|
||||
local bcache = cache[bufnr]
|
||||
if not bcache then
|
||||
return
|
||||
end
|
||||
local hunks = get_hunks(bufnr, bcache, greedy, staged)
|
||||
|
||||
if not range then
|
||||
|
Loading…
Reference in New Issue
Block a user