Skip to content

Commit 8372a6b

Browse files
authored
fix: applying preview text_edit (#296)
1 parent 04a77d1 commit 8372a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blink/cmp/accept/preview.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ local function preview(item, previous_text_edit)
2323
end
2424
end
2525

26-
text_edits_lib.apply(item.client_id, { text_edit })
26+
text_edits_lib.apply({ text_edit })
2727
vim.api.nvim_win_set_cursor(0, cursor_pos)
2828

2929
-- return so that it can be undone in the future

0 commit comments

Comments
 (0)