firenvim icon indicating copy to clipboard operation
firenvim copied to clipboard

Unable to disable Noice

Open 0x4a61636f62 opened this issue 1 year ago • 3 comments

  • OS Version: 23.05.2726.18784aac1013 (Stoat)
  • Browser Version: Brave ---- > Version 1.56.20 Chromium: 115.0.5790.171 (Official Build) (64-bit)
  • Browser Addon Version: 0.2.15
  • Neovim Plugin Version: NVIM v0.9.1

What I tried to do

I checked previous issues suggesting to add cmdline = "none".

#1534 #1536

globals.lua:

if vim.g.started_by_firenvim == true then
vim.g.firenvim_config = {
    globalSettings = { alt = "all" },
    localSettings = {
        [".*"] = {
            cmdline  = "none",
            --content  = "text",
            --priority = 0,
            selector = "textarea",
            takeover = "never"
        }
    }
}
end

What happened

The Noice warning messages appear and the Neovim command line is not visible.

Screenshot from 2023-09-01 19-08-13

0x4a61636f62 avatar Sep 01 '23 17:09 0x4a61636f62

Hi, thanks for the report. It seems that this problem was already reported & worked around in #1534 , but I failed to implement a fix, I'll do it soon.

In the meantime, it seems you can use cmdline = "neovim".

glacambre avatar Sep 01 '23 18:09 glacambre

Thank you @glacambre !

0x4a61636f62 avatar Sep 01 '23 18:09 0x4a61636f62

If you use lazy, you can try something like this to disable noice:

  {
    "folke/noice.nvim",
    enabled = not vim.g.started_by_firenvim,
    ...
}

Other pluginmanagers can probably do something similar.

PlexSheep avatar Jan 21 '24 00:01 PlexSheep