wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.72k stars 262 forks source link

fix(interactive): let interactive mode work for remote clients attached to headless instances #1113

Closed jdrouhard closed 1 year ago

jdrouhard commented 1 year ago

Fixes #1112

Instead of calculating whether the nvim instance is headless at startup and caching that (both in the config.non_interactive flag as well as a local var in the display module), just recalculate whether nvim is interactive whenever it needs to make the decision (when displaying windows or prompting the user).

jdrouhard commented 1 year ago

ping @wbthomason