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

Tailing words are deleted in cmd completion #994

Closed
2 tasks done
Kaiser-Yang opened this issue Jan 11, 2025 · 1 comment
Closed
2 tasks done

Tailing words are deleted in cmd completion #994

Kaiser-Yang opened this issue Jan 11, 2025 · 1 comment
Labels
bug Something isn't working cmdline Related to the command line

Comments

@Kaiser-Yang
Copy link
Contributor

Kaiser-Yang commented Jan 11, 2025

Make sure you have done the following

  • Updated to the latest version of blink.cmp
  • Searched for existing issues and documentation (try <C-k> on https://cmp.saghen.dev)

Bug Description

image

After select all:

image

If in the insert mode, it will be:

set allaa

After cancelling selection ( the cursor goes after aa):

image

This is caused by the textEdit of command source:

image

This seems always remove the trailing words.

Relevant configuration

No response

neovim version

NVIM v0.10.1

blink.cmp version

v0.10.0

@Kaiser-Yang Kaiser-Yang added the bug Something isn't working label Jan 11, 2025
@Kaiser-Yang
Copy link
Contributor Author

Kaiser-Yang commented Jan 11, 2025

I found this problem while testing my git-source.

Because I want to remove the : trigger when inserting a commit's hash, so I read how the textEdit is used in cmd/init.lua.

But when I wrote commits, I found this problem. When writing in command mode, we rarely move the cursor left. Therefore few people experience the problem.

@Saghen Saghen closed this as completed in a38c6d8 Jan 19, 2025
@Saghen Saghen added the cmdline Related to the command line label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmdline Related to the command line
Projects
None yet
Development

No branches or pull requests

2 participants