mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -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:
@@ -70,6 +70,10 @@ eval_client_expr_to_string(char_u *expr)
|
||||
funccal_entry_T funccal_entry;
|
||||
int did_save_funccal = FALSE;
|
||||
|
||||
#if defined(FEAT_EVAL)
|
||||
ch_log(NULL, "eval_client_expr_to_string(\"%s\")", expr);
|
||||
#endif
|
||||
|
||||
// Evaluate the expression at the toplevel, don't use variables local to
|
||||
// the calling function. Except when in debug mode.
|
||||
if (!debug_mode)
|
||||
|
Reference in New Issue
Block a user