mirror of
https://github.com/neovim/neovim.git
synced 2026-05-01 19:45:02 +00:00
Make VimL code compatible with merged Partial support (#5765)
Closes #5763.
This commit is contained in:
@@ -25,7 +25,7 @@ function! s:version_cmp(a, b) abort
|
||||
endfunction
|
||||
|
||||
" Handler for s:system() function.
|
||||
function! s:system_handler(jobid, data, event) abort
|
||||
function! s:system_handler(jobid, data, event) dict abort
|
||||
if a:event == 'stdout' || a:event == 'stderr'
|
||||
let self.output .= join(a:data, '')
|
||||
elseif a:event == 'exit'
|
||||
|
||||
@@ -140,7 +140,7 @@ endfunction
|
||||
|
||||
|
||||
" Job handler that simply forwards lines to the parser.
|
||||
function! s:JobOutput(id, lines)
|
||||
function! s:JobOutput(_id, lines, _event) dict
|
||||
call self._parser.feed(a:lines)
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user