0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0977: it is not easy to see what client-server commands are doing

Problem:    It is not easy to see what client-server commands are doing.
Solution:   Add channel log messages if ch_log() is available.  Move the
            channel logging and make it available with the +eval feature.
This commit is contained in:
Bram Moolenaar
2022-11-30 18:12:19 +00:00
parent a87749e3ea
commit 4c5678ff0c
27 changed files with 341 additions and 257 deletions

View File

@@ -3163,7 +3163,7 @@ bt_did_time_out(int *timed_out)
{
if (timed_out != NULL)
{
# ifdef FEAT_JOB_CHANNEL
# ifdef FEAT_EVAL
if (!*timed_out)
ch_log(NULL, "BT regexp timed out");
# endif