neovim/runtime/pack/dist/opt
Sean Dewar 315858bf67
fix(termdebug): handle exiting during startup properly (#16790)
s:EndTermDebug should only be called when exiting if the debugger started
without error, otherwise the plugin breaks.

Vim handles this by using job_setoptions to set the on_exit callback to
s:EndTermDebug after startup succeeds. However, Nvim does not have such
functionality; instead; use s:starting to mimic this behaviour.

Also, introduce s:running to fix s:CheckGdbRunning; it did not work correctly
due to the "[Process exited X]" message keeping the job's channel alive (though
the stream is closed). This means nvim_get_chan_info cannot be used to check if
the debugger has exited, as it may still return a non-empty dict.
2022-03-20 10:10:01 +00:00
..
cfilter/plugin Sync cfilter 1.1 from vim 2020-09-21 11:29:02 +03:00
justify/plugin vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
matchit vim-patch:partial:f10911e5db16 (#17248) 2022-01-31 15:27:01 +01:00
shellmenu/plugin vim-patch:7.4.1676 #5143 2016-08-01 03:25:03 -04:00
swapmouse/plugin vim-patch:7.4.1675 #5142 2016-08-01 03:23:21 -04:00
termdebug/plugin fix(termdebug): handle exiting during startup properly (#16790) 2022-03-20 10:10:01 +00:00
vimball vim-patch:3e496b0ea319 2017-04-28 23:39:24 +02:00