mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
Use buffer version instead of changedtick for edits
This commit is contained in:

committed by
Jesse Bakker

parent
ff1730373c
commit
1fe01b36de
@@ -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]
|
||||
|
Reference in New Issue
Block a user