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
{{ message }}
Repository navigation
[BUG] Neovide + noice.nvim: vim.api.nvim_list_uis() early vs late returns inconsistent ext_cmdline/ext_messages#1221
Error 21:29:08 notify.error noice.nvim You're using a GUI that uses ext_cmdline. Noice can't work when the GUI has ext_cmdline enabled.
Error 21:29:08 notify.error noice.nvim You're using a GUI that uses ext_messages. Noice can't work when the GUI has ext_messages enabled.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
[BUG] Neovide + noice.nvim:
vim.api.nvim_list_uis()early vs late returns inconsistentext_cmdline/ext_messagesEnvironment
Description
When running Neovim inside Neovide, the value of:
is inconsistent depending on when it is queried during startup.
Specifically:
Very early during startup:
ui.ext_cmdline == true,ui.ext_messages == trueShortly after startup (or after UI fully initializes):
The same fields become:
ui.ext_cmdline == false,ui.ext_messages == falseReproduction Steps
Start Neovim inside Neovide with the following
init.lua:Impact
This issue triggers
noice.nvim's errors:This works for me:
{ "folke/noice.nvim", config = function(_, opts) if vim.g.neovide then vim.defer_fn(function() require("noice").setup(opts) end, 200) else require("noice").setup(opts) end end, }Question
Is this expected behavior, or should this be considered a bug in Neovide or noice.nvim?
All reactions