mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
fix(lsp.util): inconsistent handling of offset_encoding
This commit is contained in:
@@ -2586,7 +2586,7 @@ describe('LSP', function()
|
||||
},
|
||||
},
|
||||
}
|
||||
eq(false, pcall(exec_lua, 'vim.lsp.util.apply_workspace_edit(...)', edit))
|
||||
eq(false, pcall(exec_lua, 'vim.lsp.util.apply_workspace_edit(...)', edit, 'utf-16'))
|
||||
eq(false, vim.uv.fs_stat(tmpfile) ~= nil)
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user