You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.9.5 release
Operating system/version
macOS Sonoma 14.4.1
Describe the bug
When using the nui backend for the preset cmdline popup, you can press on the cmdline menu to show the list of all the commands you can run, and navigate it with and , like normal. However, ass soon as you type a letter, the popup disappears. Note that the cmp backend functions as intended, it's only the nui backend which does not work.
Steps To Reproduce
Open cmdline using :
Press <C-d> to open popup menu
Use <Tab> and <S-Tab> and see that they work as intended
Type any letter and see that the popupmenu disappears.
Expected Behavior
I would expect the nui backend cmdline popup to work the same way as cmp, where typing after the popupmenu has been opened will not make it disappear, but rather update its contents.
Repro
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
"folke/noice.nvim",
-- add any other plugins here-- both backend plugins added for comparison purposes"MunifTanjim/nui.nvim",
"hrsh7th/nvim-cmp",
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else hererequire("noice").setup({
popupmenu= {
backend="nui",
},
presets= {
command_palette=true,
},
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.5 release
Operating system/version
macOS Sonoma 14.4.1
Describe the bug
When using the nui backend for the preset cmdline popup, you can press on the cmdline menu to show the list of all the commands you can run, and navigate it with and , like normal. However, ass soon as you type a letter, the popup disappears. Note that the cmp backend functions as intended, it's only the nui backend which does not work.
Steps To Reproduce
:
<C-d>
to open popup menu<Tab>
and<S-Tab>
and see that they work as intendedExpected Behavior
I would expect the nui backend cmdline popup to work the same way as cmp, where typing after the popupmenu has been opened will not make it disappear, but rather update its contents.
Repro
The text was updated successfully, but these errors were encountered: