Merge pull request #11927 from Jesse-Bakker/lsp-buf-version

LSP: Use buffer version instead of changedtick for edits
This commit is contained in:
Björn Linse
2020-03-16 21:57:51 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -614,6 +614,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]