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

First character deleted from completion line on accept #38

Closed
julienvincent opened this issue Oct 8, 2024 · 1 comment
Closed

First character deleted from completion line on accept #38

julienvincent opened this issue Oct 8, 2024 · 1 comment

Comments

@julienvincent
Copy link
Contributor

As mentioned here: #20 (comment) there is an issue where the first character from the line being autocompleted is deleted when accepting an item:

(group-|)
;; Press <Cr> / your accept key
group-by|)

The first bracket is deleted. This does not occur, in this example, when adding a space at the beginning:

 (group-|)
;; Press <Cr> / your accept key
 (group-by|)
@julienvincent julienvincent changed the title Char deleted from completion line on accept First character deleted from completion line on accept Oct 8, 2024
@julienvincent
Copy link
Contributor Author

Maybe a more approachable reproduce guide:

In an empty lua file type:

{a|}

and accept the autocomplete item. Results in:

assert|}

@Saghen Saghen closed this as completed in 655d2ee Oct 8, 2024
lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant