Mercurial > vim
comparison src/structs.h @ 13740:f309afff6f25 v8.0.1742
patch 8.0.1742: cannot get a list of all the jobs
commit https://github.com/vim/vim/commit/e1fc51558dc14906a8d9f6a6e7bb1ac2a6ba8f3d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 21 19:49:08 2018 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 21 Apr 2018 20:00:07 +0200 |
parents | d35b1702a1da |
children | 260256caac38 |
comparison
equal
deleted
inserted
replaced
13739:0b766229da42 | 13740:f309afff6f25 |
---|---|
269 #ifdef FEAT_SIGNS | 269 #ifdef FEAT_SIGNS |
270 char_u *wo_scl; | 270 char_u *wo_scl; |
271 # define w_p_scl w_onebuf_opt.wo_scl /* 'signcolumn' */ | 271 # define w_p_scl w_onebuf_opt.wo_scl /* 'signcolumn' */ |
272 #endif | 272 #endif |
273 #ifdef FEAT_TERMINAL | 273 #ifdef FEAT_TERMINAL |
274 char_u *wo_tk; | 274 char_u *wo_twk; |
275 #define w_p_tk w_onebuf_opt.wo_tk /* 'termkey' */ | 275 # define w_p_twk w_onebuf_opt.wo_twk /* 'termwinkey' */ |
276 char_u *wo_tms; | 276 char_u *wo_tws; |
277 #define w_p_tms w_onebuf_opt.wo_tms /* 'termsize' */ | 277 # define w_p_tws w_onebuf_opt.wo_tws /* 'termwinsize' */ |
278 #endif | 278 #endif |
279 | 279 |
280 #ifdef FEAT_EVAL | 280 #ifdef FEAT_EVAL |
281 int wo_scriptID[WV_COUNT]; /* SIDs for window-local options */ | 281 int wo_scriptID[WV_COUNT]; /* SIDs for window-local options */ |
282 # define w_p_scriptID w_onebuf_opt.wo_scriptID | 282 # define w_p_scriptID w_onebuf_opt.wo_scriptID |
1486 | 1486 |
1487 int jv_refcount; /* reference count */ | 1487 int jv_refcount; /* reference count */ |
1488 int jv_copyID; | 1488 int jv_copyID; |
1489 | 1489 |
1490 channel_T *jv_channel; /* channel for I/O, reference counted */ | 1490 channel_T *jv_channel; /* channel for I/O, reference counted */ |
1491 char_u **argv; /* command line used to start the job */ | |
1491 }; | 1492 }; |
1492 | 1493 |
1493 /* | 1494 /* |
1494 * Structures to hold info about a Channel. | 1495 * Structures to hold info about a Channel. |
1495 */ | 1496 */ |
2259 #ifdef FEAT_PERSISTENT_UNDO | 2260 #ifdef FEAT_PERSISTENT_UNDO |
2260 int b_p_udf; /* 'undofile' */ | 2261 int b_p_udf; /* 'undofile' */ |
2261 #endif | 2262 #endif |
2262 #ifdef FEAT_LISP | 2263 #ifdef FEAT_LISP |
2263 char_u *b_p_lw; /* 'lispwords' local value */ | 2264 char_u *b_p_lw; /* 'lispwords' local value */ |
2265 #endif | |
2266 #ifdef FEAT_TERMINAL | |
2267 long b_p_twsl; /* 'termwinscroll' */ | |
2264 #endif | 2268 #endif |
2265 | 2269 |
2266 /* end of buffer options */ | 2270 /* end of buffer options */ |
2267 | 2271 |
2268 #ifdef FEAT_CINDENT | 2272 #ifdef FEAT_CINDENT |