1
0
forked from aniani/vim

patch 8.0.1742: cannot get a list of all the jobs

Problem:    Cannot get a list of all the jobs.  Cannot get the command of
            the job.
Solution:   When job_info() is called without an argument return a list of
            jobs.  Otherwise, include the command that the job is running.
            (Yegappan Lakshmanan)
This commit is contained in:
Bram Moolenaar
2018-04-21 19:49:08 +02:00
parent 259a90f7ce
commit e1fc51558d
7 changed files with 81 additions and 10 deletions

View File

@@ -271,10 +271,10 @@ typedef struct
# define w_p_scl w_onebuf_opt.wo_scl /* 'signcolumn' */
#endif
#ifdef FEAT_TERMINAL
char_u *wo_tk;
#define w_p_tk w_onebuf_opt.wo_tk /* 'termkey' */
char_u *wo_tms;
#define w_p_tms w_onebuf_opt.wo_tms /* 'termsize' */
char_u *wo_twk;
# define w_p_twk w_onebuf_opt.wo_twk /* 'termwinkey' */
char_u *wo_tws;
# define w_p_tws w_onebuf_opt.wo_tws /* 'termwinsize' */
#endif
#ifdef FEAT_EVAL
@@ -1488,6 +1488,7 @@ struct jobvar_S
int jv_copyID;
channel_T *jv_channel; /* channel for I/O, reference counted */
char_u **argv; /* command line used to start the job */
};
/*
@@ -2262,6 +2263,9 @@ struct file_buffer
#ifdef FEAT_LISP
char_u *b_p_lw; /* 'lispwords' local value */
#endif
#ifdef FEAT_TERMINAL
long b_p_twsl; /* 'termwinscroll' */
#endif
/* end of buffer options */