Closed mvanderkamp closed 2 years ago
I'm going to do a few more manual tests that everything is working correctly with this, so please don't merge this yet.
Okay, as far as I can tell everything is working correctly. I'm still not sure what exactly went wrong for newer tmux/neovim versions but it sounds like these guardrails do the trick.
210 was missing some safety checks. See this comment. This PR adds guardrails to make sure that:
VimuxUseNearest
andVimuxRunnerQuery
are both false/empty, we definitely don't try to re-use an existing pane/window.VimuxRunnerQuery
, and that query happens to end up selecting the current pane (the one running vim), we won't use it.