We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab91c5 commit ceeeb53Copy full SHA for ceeeb53
lua/blink/cmp/accept/init.lua
@@ -41,6 +41,10 @@ local function accept(item)
41
else
42
table.insert(all_text_edits, item.textEdit)
43
text_edits_lib.apply_text_edits(item.client_id, all_text_edits)
44
+ vim.api.nvim_win_set_cursor(0, {
45
+ vim.api.nvim_win_get_cursor(0)[1],
46
+ item.textEdit.range.start.character + #item.textEdit.newText + offset,
47
+ })
48
end
49
50
-- Check semantic tokens for brackets, if needed, and apply additional text edits
0 commit comments