diff options
author | Jaehwang Jung <tomtomjhj@gmail.com> | 2023-03-07 15:17:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 07:17:52 +0100 |
commit | 706bcab75eaad2c370d61bf828531054439d3a3e (patch) | |
tree | ae55f92afbb54348d6a3105a3300921c398ef9ff /runtime/lua/vim/lsp/sync.lua | |
parent | 7a44231832fbeb0fe87553f75519ca46e91cb7ab (diff) | |
download | rneovim-706bcab75eaad2c370d61bf828531054439d3a3e.tar.gz rneovim-706bcab75eaad2c370d61bf828531054439d3a3e.tar.bz2 rneovim-706bcab75eaad2c370d61bf828531054439d3a3e.zip |
docs(lsp): change type annotations from number → integer (#22510)
Diffstat (limited to 'runtime/lua/vim/lsp/sync.lua')
-rw-r--r-- | runtime/lua/vim/lsp/sync.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/sync.lua b/runtime/lua/vim/lsp/sync.lua index 826352f036..fb5b0b3194 100644 --- a/runtime/lua/vim/lsp/sync.lua +++ b/runtime/lua/vim/lsp/sync.lua @@ -388,9 +388,9 @@ end --- Returns the range table for the difference between prev and curr lines ---@param prev_lines table list of lines ---@param curr_lines table list of lines ----@param firstline number line to begin search for first difference ----@param lastline number line to begin search in old_lines for last difference ----@param new_lastline number line to begin search in new_lines for last difference +---@param firstline integer line to begin search for first difference +---@param lastline integer line to begin search in old_lines for last difference +---@param new_lastline integer line to begin search in new_lines for last difference ---@param offset_encoding string encoding requested by language server ---@returns table TextDocumentContentChangeEvent see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentContentChangeEvent function M.compute_diff( |