Closed smjonas closed 8 months ago
When the preview window was closed with q, on_stdout would call nvim_win_call with an invalid window ID leading to errors. This change cancels the job if an invalid window ID was detected in on_stdout.
q
on_stdout
nvim_win_call
Perfect, thank you again, @smjonas , you really like to cancel operations 😄
When the preview window was closed with
q
,on_stdout
would callnvim_win_call
with an invalid window ID leading to errors. This change cancels the job if an invalid window ID was detected inon_stdout
.