File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
autoload/vital/__vital__/System Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,8 @@ function! s:_vital_depends() abort
1616 return []
1717endfunction
1818
19- function ! s: nop_cb (_) abort
20- endfunction
21-
2219if ! s: is_nvim
23- " for Vim
20+ " inner callbacks for Vim
2421 function ! s: inner_out_cb (user_out_cb, ch , msg) abort
2522 call a: user_out_cb (a: msg )
2623 endfunction
@@ -33,7 +30,7 @@ if !s:is_nvim
3330 call a: user_err_cb (a: msg )
3431 endfunction
3532else
36- " for Neovim
33+ " inner callbacks for Neovim
3734 function ! s: inner_out_cb (user_out_cb, job_id, data, event ) abort
3835 for line in a: data
3936 if line !=# ' '
5855" execute({command}, {options})
5956" {command} = string
6057" {options} = {
61- " out_cb: function(stdout_msg),
62- " err_cb: function(stderr_msg),
63- " exit_cb: function(exit_code),
58+ " out_cb: function(stdout_msg), " call per line
59+ " err_cb: function(stderr_msg), " call per line
60+ " exit_cb: function(exit_code), " call on exit
6461" }
6562function ! s: execute (command , options ) abort
6663 if ! type (a: options ) is s: TYPE_DICT
You can’t perform that action at this time.
0 commit comments