We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71e5ef commit c2a56e4Copy full SHA for c2a56e4
lua/blink/cmp/accept/text-edits.lua
@@ -70,7 +70,7 @@ function text_edits.get_from_item(item)
70
71
local text_edit = vim.deepcopy(item.textEdit)
72
73
- local client = vim.lsp.get_client_by_id(client_id)
+ local client = vim.lsp.get_client_by_id(item.client_id)
74
local offset_encoding = client ~= nil and client.offset_encoding or 'utf-8'
75
76
if offset_encoding ~= 'utf-8' then
0 commit comments