folke / lazy.nvim

💤 A modern plugin manager for Neovim
https://lazy.folke.io/
Apache License 2.0
14.32k stars 344 forks source link

FIX ISSUE #1626 #1627

Closed bkoropoff closed 2 months ago

bkoropoff commented 2 months ago

Description

Check whether nvim is currently headless, not whether it was headless at startup. This fixes the UI not showing up when running Lazy commands after attaching to a headless instance.

Related Issue(s)

bkoropoff commented 2 months ago

Feel free to edit the title, I'm not sure how to make the test happy after one attempt to pacify it.

folke commented 2 months ago

That was actually on purpose, to prevent showing the headless mode when suspending Neovim. I just pushed a changed that simply ignores headless when suspended, but would still work with remote ui.