aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/sync.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-12-17 09:54:38 +0000
committerGitHub <noreply@github.com>2023-12-17 09:54:38 +0000
commit5a2536de0c4beae4eba50a0d2868983c1690ecc7 (patch)
tree912dccf3ba5932135f681c16db5006f810439180 /runtime/lua/vim/lsp/sync.lua
parent8f08b1efbd096850c04c2e8e2890d993bd4d9f95 (diff)
downloadrneovim-5a2536de0c4beae4eba50a0d2868983c1690ecc7.tar.gz
rneovim-5a2536de0c4beae4eba50a0d2868983c1690ecc7.tar.bz2
rneovim-5a2536de0c4beae4eba50a0d2868983c1690ecc7.zip
refactor(lsp): move changetracking to separate file (#26577)
* refactor(lsp): move changetracking to separate file - Prefixed changetracking types with `vim.lsp.` * fixup!: make _reset_timer a local function * fixup!: remove @private annotations * fixup!: changetracking.lua -> _changetracking.lua * fixup! types * fixup! add send_changes_for_group
Diffstat (limited to 'runtime/lua/vim/lsp/sync.lua')
-rw-r--r--runtime/lua/vim/lsp/sync.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/sync.lua b/runtime/lua/vim/lsp/sync.lua
index c2b5b54cb0..7ebe2dbb88 100644
--- a/runtime/lua/vim/lsp/sync.lua
+++ b/runtime/lua/vim/lsp/sync.lua
@@ -397,7 +397,7 @@ end
---@param new_lastline integer line to begin search in new_lines for last difference
---@param offset_encoding string encoding requested by language server
---@param line_ending string
----@return table TextDocumentContentChangeEvent see https://microsoft.github.io/language-server-protocol/specification/#textDocumentContentChangeEvent
+---@return lsp.TextDocumentContentChangeEvent : see https://microsoft.github.io/language-server-protocol/specification/#textDocumentContentChangeEvent
function M.compute_diff(
prev_lines,
curr_lines,