neocord
neocord copied to clipboard
fix: fix error spam when used with firenvim
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