We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b9647b commit abcb2a0Copy full SHA for abcb2a0
lua/blink/cmp/accept/text-edits.lua
@@ -39,7 +39,7 @@ end
39
40
-- todo: doesnt work when the item contains characters not included in the context regex
41
function text_edits.guess_text_edit(bufnr, item)
42
- local word = item.insertText or item.label
+ local word = item.textEditText or item.insertText or item.label
43
44
local current_line = vim.api.nvim_win_get_cursor(0)[1]
45
local current_col = vim.api.nvim_win_get_cursor(0)[2]
0 commit comments