gnvim icon indicating copy to clipboard operation
gnvim copied to clipboard

Gnvim and LazyVim

Open Ian2020 opened this issue 5 months ago • 2 comments

Hi,

I cloned the repo yesterday and am running as flatpak but having some problems using gnvim with LazyVim.

I get two errors at startup:

  Error  08:24:10 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  08:24:10 notify.error noice.nvim You're using a GUI that uses ext_popupmenu. Noice can't work when the GUI has ext_popupmenu enabled.

It looks from the gnvim docs I can't disable ext_cmdline or ext_popupmenu, is there anything else I can do to workaround this?

Also, I have the font set to Lazy's preferred vim.o.guifont = "SauceCodePro NFP Light:h10" but alignment looks off in the title and in other places:

Image

Any help appreciated, thanks for making this!

Ian2020 avatar Jul 17 '25 08:07 Ian2020

Gnvim doesn't support disabling any of the ext_* features it enables. I'm not personally interested in adding support for that.

I don't know what uses lazy vim has for the ext ui features. The docs mention experimental use of noice.nvim. Maybe thats the reason.

The font alignment issue is separate from the ext ui features issue. Can't really say whats up with that without investigating it a bit. There are some other visual artifacts that I've noticed regarding the font (or cell) sizes, but haven't had a look at it yet.

vhakulinen avatar Jul 22 '25 10:07 vhakulinen

Gnvim doesn't support disabling any of the ext_* features it enables. I'm not personally interested in adding support for that.

Fair enough.

I don't know what uses lazy vim has for the ext ui features. The docs mention experimental use of noice.nvim. Maybe thats the reason.

Yes it seems to be noice that writes the error messages. It looks like noice uses vim.ui_attach and

...right now listening for ext_messages also activates ext_cmdline, so you can't have messages without cmdline

quoted from a noice issue here. I'll see what noice themselves say about this, as it seems they had a similar issue with their compatibility under Neovide.

The font alignment issue is separate from the ext ui features issue. Can't really say whats up with that without investigating it a bit. There are some other visual artifacts that I've noticed regarding the font (or cell) sizes, but haven't had a look at it yet.

Thanks.

Ian2020 avatar Jul 22 '25 14:07 Ian2020