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

Interactive mode doesn't work when using remote client attached to headless neovim instance #1112

Closed jdrouhard closed 1 year ago

jdrouhard commented 1 year ago

507 broke interactive mode when using a remote neovim client that is attached to a headless neovim instance after it has been started.

Steps to reproduce

$ nvim --headless --listen localhost:7777
$ neovide --remote-tcp localhost:7777 # or another client that can connect to remote headless instances
$ # run :PackerSync in neovide instance

Actual behaviour

No Packer windows appear, even though an interactive client is attached.

Expected behaviour

Because the non_interactive config is set to false, the Packer windows should appear since there is actually an interactive client attached. api.nvim_list_uis() returns an entry after the remote client is attached.