mirror of
https://github.com/neovim/neovim.git
synced 2026-05-04 21:15:09 +00:00
refactor(undo): don't assume curbuf in u_compute_hash
This commit is contained in:
@@ -38,7 +38,7 @@ child_call_once(function()
|
||||
--
|
||||
-- compute a hash for this undofile
|
||||
buffer_hash = ffi.new('char_u[32]')
|
||||
undo.u_compute_hash(buffer_hash)
|
||||
undo.u_compute_hash(file_buffer, buffer_hash)
|
||||
end)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user