IogaMaster / neocord

Discord Rich Presence for Neovim (Fork of presence.nvim)
MIT License
92 stars 12 forks source link

Doesn't update over multiple tmux panes #9

Open Vetle-Dyngeland opened 8 months ago

Vetle-Dyngeland commented 8 months ago

Description

When I switch the tmux pane, the presence status is still stuck on the previous one

Neovim version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1702233742

OS information

Arch linux lts ver 6.6.12-1

Steps to reproduce

  1. Setup nvim instance within a tmux session with multiple panes
  2. Setup another instance in another pane
  3. Switch panes

Logs

Loaded 32 plugin files! Client 1 quit with exit code 150 and signal 0 Client 4 quit with exit code 150 and signal 0 NVIM v0.9.5 Build type: Release LuaJIT 2.1.1702233742

Vetle-Dyngeland commented 8 months ago

This could also possibly be resolved by adding a command, something like :NeocordOverride, which makes the current neovim instance take control of discord presence management. Though this would force users to either call that manually every time they switch panes or make a script that does it for them

IogaMaster commented 6 months ago

I was thinking about making whatever client is focused, do that override.