mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 06:49:01 +00:00
fix(lsp): forward offset_encoding in rename handler (#17079)
This commit is contained in:
committed by
GitHub
parent
9304ee3874
commit
8066abcd65
@@ -737,7 +737,8 @@ end
|
||||
|
||||
--- Applies a `WorkspaceEdit`.
|
||||
---
|
||||
---@param workspace_edit (table) `WorkspaceEdit`
|
||||
---@param workspace_edit table `WorkspaceEdit`
|
||||
---@param offset_encoding string utf-8|utf-16|utf-32 (required)
|
||||
--see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_applyEdit
|
||||
function M.apply_workspace_edit(workspace_edit, offset_encoding)
|
||||
if offset_encoding == nil then
|
||||
|
||||
Reference in New Issue
Block a user