-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not kill viewer sioyek when exiting vim #2401
Comments
I believe this is because the process is not detached. I.e., here: vimtex/autoload/vimtex/jobs/neovim.vim Line 47 in 7dfa2bd
I should probably add |
I made a slightly conservative update that I believes fixes your issue. Please test. |
Conservative, as in I only use the detached flag where it seems natural via opt-in. |
Yes, the windows remain open now, when I close neovim with tex file. Thank you. When I find the time, I will talk to the author of sioyek whether there can be a method to close only the corresponding window. |
Description
The pdf viewer sioyek recently introduced the possibility to open several windows per instance in commits ahrm/sioyek@8096178 and ahrm/sioyek@2c508f5 .
When I open a tex file with vimtex and view it in the current instance and then exit neovim, the single sioyek instance with all opened pdf files is closed.
Steps to reproduce
nvim -u minimal.vim minimal.tex
Expected behavior
Only close the corresponding sioyek window. If this is currently not possible, just leave sioyek running also with the pdf belonging to the tex file.
Actual behavior
Sioyek instance with all opened pdf files is closed.
Do you use a latexmkrc file?
no
VimtexInfo
Minimal ~/.config/nvim/init.lua
minimal.tex
The text was updated successfully, but these errors were encountered: