You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #19, there's a lot of sense in providing an option to keep the spawned Vim around after the script has exited. Currently, this works with the :foreground => false option for gvim. It might be a good idea to look into providing similar functionality for headless vim. I also think it might make more sense to have a separate method instead to detach the vim instance from the spawning script.
The text was updated successfully, but these errors were encountered:
That's possibly not a good idea to do automatically. Given that it's most likely to happen via at_exit, it might introduce race conditions if some code, like some test runners today do, runs in an at_exit block. It'll fail if Vimrunner exits in an at_exit prior to that.
The Vim instance will be killed automatically upon process exit, since it's a child of that process (as far as I know). The issue discussed in #19 was whether we should make some way to detach the child process, so it stays behind after the script had finished. I don't think using at_exit would be necessary, unless I'm missing something.
As discussed in #19, there's a lot of sense in providing an option to keep the spawned Vim around after the script has exited. Currently, this works with the
:foreground => false
option for gvim. It might be a good idea to look into providing similar functionality for headless vim. I also think it might make more sense to have a separate method instead to detach the vim instance from the spawning script.The text was updated successfully, but these errors were encountered: