mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
s:on_stderr_nvim: do not call err handler for ['']
This commit is contained in:
committed by
Andy Stewart
parent
5c8efd3625
commit
7201afe8d1
@@ -60,8 +60,10 @@ function! s:on_stdout_nvim(_job_id, data, _event) dict abort
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:on_stderr_nvim(_job_id, _data, _event) dict abort
|
||||
call self.handler.err(self.buffer)
|
||||
function! s:on_stderr_nvim(_job_id, data, _event) dict abort
|
||||
if a:data != [''] " With Neovim there is always [''] reported on stderr.
|
||||
call self.handler.err(self.buffer)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:on_exit_nvim(_job_id, exit_code, _event) dict abort
|
||||
|
||||
Reference in New Issue
Block a user