Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect text edit range after selecting a second item with auto_insert #810

Closed
2 tasks done
aidancz opened this issue Dec 28, 2024 · 1 comment
Closed
2 tasks done
Labels
accept Applying a completion item to the buffer bug Something isn't working

Comments

@aidancz
Copy link

aidancz commented Dec 28, 2024

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

  1. prepare this file:
sudo
sudosudo


  1. move cursor to the last line and enter insert mode
  2. press su<c-n>su<c-n>
  3. the result is sudosudosu instead of sudosudo

video:

20241228-232210-738537188.mp4

Relevant configuration

require("blink.cmp").setup({
	completion = {
		list = {
			selection = "auto_insert",
		},
	},
})

neovim version

0.10.3

blink.cmp version: branch, tag, or commit

v0.8.2

@aidancz aidancz added the bug Something isn't working label Dec 28, 2024
@Saghen Saghen changed the title strange behavior of "auto_insert" Incorrect text edit range after selecting a second item with auto_insert Dec 29, 2024
@Saghen Saghen added the accept Applying a completion item to the buffer label Dec 29, 2024
@Parsifa1

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accept Applying a completion item to the buffer bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants