comparison autoload/gutentags.vim @ 209:7371d8750c46

Fix possible error in tracing job output if output is not a string.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 09 Jun 2018 09:36:52 -0700
parents 20bfab5b054f
children 011d855724bf
comparison
equal deleted inserted replaced
208:18dbf8d02b4c 209:7371d8750c46
547 endif 547 endif
548 echom "" 548 echom ""
549 endfunction 549 endfunction
550 550
551 function! gutentags#default_io_cb(chan, msg) abort 551 function! gutentags#default_io_cb(chan, msg) abort
552 call gutentags#trace(a:msg) 552 call gutentags#trace(string(a:msg))
553 endfunction 553 endfunction
554 554
555 if has('nvim') 555 if has('nvim')
556 " Neovim job API. 556 " Neovim job API.
557 function! s:nvim_job_exit_wrapper(real_cb, job, exit_code, event_type) abort 557 function! s:nvim_job_exit_wrapper(real_cb, job, exit_code, event_type) abort