neocord icon indicating copy to clipboard operation
neocord copied to clipboard

fix: fix error spam when used with firenvim

Open itscrystalline opened this issue 8 months ago • 0 comments

Description of changes

originally, trying to run an embedded instance of neovim with neocord (with the firenvim extension in particular) would result in an error spam stating that info in utils.get_gui_info() was nil. This PR simpily adds a nil check before accessing info.type. https://github.com/IogaMaster/neocord/blob/41bacd44e9d36f5e36e0271672ac2c02f6fa355a/lua/neocord/utils.lua#L19-L25

Relevant Issues

None

CC Maintainers

@IogaMaster

itscrystalline avatar May 12 '25 11:05 itscrystalline