Skip to content

Commit

Permalink
fix(client): ignore -1 abnormal exit (#4868)
Browse files Browse the repository at this point in the history
closes #4843
  • Loading branch information
fannheyward authored Feb 21, 2024
1 parent ebc63cf commit e18f99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/coc/client.vim
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function! s:on_exit(name, code) abort
let client['chan_id'] = 0
let client['channel'] = v:null
let client['async_req_id'] = 1
if a:code != 0 && a:code != 143
if a:code != 0 && a:code != 143 && a:code != -1
echohl Error | echom 'client '.a:name. ' abnormal exit with: '.a:code | echohl None
endif
endfunction
Expand Down

0 comments on commit e18f99b

Please sign in to comment.