Use buffer version instead of changedtick for edits

This commit is contained in:
Jesse Bakker
2020-01-24 12:31:52 +01:00
committed by Jesse Bakker
parent ff1730373c
commit 1fe01b36de
2 changed files with 5 additions and 1 deletions

View File

@@ -613,6 +613,8 @@ do
if tbl_isempty(all_buffer_active_clients[bufnr] or {}) then
return
end
util.buf_versions[bufnr] = changedtick
-- Lazy initialize these because clients may not even need them.
local incremental_changes = once(function(client)
local size_index = encoding_index[client.offset_encoding]