-
Notifications
You must be signed in to change notification settings - Fork 114
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
bug: cmdline popupmenu completions (cmp backend) stop working after the first time #958
Comments
+1 |
1 similar comment
+1 |
+1 to this as well |
Also experiencing this on windows |
same
I hope that helps |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
I guess your error is because of noice using blink.cmp instead of nvim.cmp as its new backend, and you are still using a config like
|
@Welkin-Y Actually with a quick test, it looks to me like the issue is still there: The following config works, that is not new: vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "hrsh7th/nvim-cmp", opts = {} },
{
"folke/noice.nvim",
opts = {
presets = {
command_palette = false,
},
cmdline = {
view = "cmdline",
},
}
},
},
}) Expected behaviorThe behavior I expect is a "default-style" completion popup next to the cursor: Neither with |
@druskus20 Thanks for sharing. I just tested with the latest noice and lazyvim version and it worked pretty well. |
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.1
Operating system/version
Linux, Ubuntu
Describe the bug
Using the "cmp" backend for the popupmenu only works the first time, in subsequent attempts it simply does not show up.
2024-09-29.18-09-24.mp4
I am also using LazyVim (somewhat heavily modified), but I was able to reproduce - see bellow
Steps To Reproduce
Expected Behavior
The completion menu opens again, just like it does with the nui backend
Repro
The text was updated successfully, but these errors were encountered: