mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 07:02:46 +00:00
fix(lsp): forward offset_encoding to apply_text_edits (#17075)
This commit is contained in:
committed by
GitHub
parent
4570df0b43
commit
9304ee3874
@@ -771,7 +771,7 @@ function M.apply_workspace_edit(workspace_edit, offset_encoding)
|
||||
|
||||
for uri, changes in pairs(all_changes) do
|
||||
local bufnr = vim.uri_to_bufnr(uri)
|
||||
M.apply_text_edits(changes, bufnr)
|
||||
M.apply_text_edits(changes, bufnr, offset_encoding)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user