forked from aniani/vim
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.
8 lines
300 B
C
8 lines
300 B
C
/* logfile.c */
|
|
void ch_logfile(char_u *fname, char_u *opt);
|
|
int ch_log_active(void);
|
|
void ch_log_literal(char *lead, channel_T *ch, ch_part_T part, char_u *buf, int len);
|
|
void f_ch_log(typval_T *argvars, typval_T *rettv);
|
|
void f_ch_logfile(typval_T *argvars, typval_T *rettv);
|
|
/* vim: set ft=c : */
|