Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.12.1
Operating system/version
Windows 11
Describe the bug
If I enable ui2:
require('vim._core.ui2').enable({})
It is shown both, the cmdline and the Noice cmd. Even if I force set cmdheight=0, when I start writing a command it expands and the neovim command is shown in addition to the noice command.
It only happens with ui2. If I disable it, it works correclty. I don't know if is a Noice bug (because it might be handled different when using ui2), or if it is a Neovim ui2 bug.
Steps To Reproduce
- Enable ui2:
require('vim._core.ui2').enable({})
- Hide native cmdline:
vim.o.cmdheight = 0
- Use Noice
Expected Behavior
It should only show the Noice cmdline, but it is shown both, the Neovim and the Noice cmdlines.
Repro
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 = {
{ "folke/noice.nvim", opts = {} },
-- add any other plugins here
},
})
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.12.1
Operating system/version
Windows 11
Describe the bug
If I enable ui2:
It is shown both, the
cmdlineand the Noice cmd. Even if I forceset cmdheight=0, when I start writing a command it expands and the neovim command is shown in addition to the noice command.It only happens with ui2. If I disable it, it works correclty. I don't know if is a Noice bug (because it might be handled different when using ui2), or if it is a Neovim ui2 bug.
Steps To Reproduce
require('vim._core.ui2').enable({})vim.o.cmdheight = 0Expected Behavior
It should only show the Noice cmdline, but it is shown both, the Neovim and the Noice cmdlines.
Repro