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

Accepting completion in Command-line removes prefixed text #894

Closed
2 tasks done
reyniersbram opened this issue Jan 4, 2025 · 1 comment
Closed
2 tasks done

Accepting completion in Command-line removes prefixed text #894

reyniersbram opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@reyniersbram
Copy link

reyniersbram commented Jan 4, 2025

Make sure you have done the following

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

Bug Description

I want to type :lua vim.lsp.buf.code_action(). When i start typing i get a completion for code_action like this:
image

When I accept it with <C-y>, the text becomes :lua code_action

When going back to v0.9.0, the accepting the completion gives :lua vim.lsp.buf.code_action as expected.
This is only the case in Command-line mode, for Insert mode it seems to work fine.

Relevant configuration

-- I use the default configuration with lazydev as extra completion provider as described in https://github.com/folke/lazydev.nvim?tab=readme-ov-file#-installation

neovim version

NVIM v0.10.3

blink.cmp version: branch, tag, or commit

v0.9.1 and above

@reyniersbram reyniersbram added the bug Something isn't working label Jan 4, 2025
@Saghen
Copy link
Owner

Saghen commented Jan 4, 2025

Duplicate of #883

@Saghen Saghen marked this as a duplicate of #883 Jan 4, 2025
@Saghen Saghen closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 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
Projects
None yet
Development

No branches or pull requests

2 participants