Skip to content

Commit

Permalink
Use warn instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 7, 2024
1 parent 715962f commit b3206a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions autoload/denops/_internal/server/chan.vim
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ function! s:reconnect(options) abort
catch /Could not find constraint\|Could not find version of/
" Show a warning message when Deno module cache issue is detected
" https://github.com/vim-denops/denops.vim/issues/358
call denops#_internal#echo#debug(repeat('*', 80))
call denops#_internal#echo#debug('Deno module cache issue is detected.')
call denops#_internal#echo#debug(
call denops#_internal#echo#warn(repeat('*', 80))
call denops#_internal#echo#warn('Deno module cache issue is detected.')
call denops#_internal#echo#warn(
\ "Execute 'call denops#cache#update(#{reload: v:true})' and restart Vim/Neovim."
\ )
call denops#_internal#echo#debug(
call denops#_internal#echo#warn(
\ 'See https://github.com/vim-denops/denops.vim/issues/358 for more detail.'
\ )
call denops#_internal#echo#debug(repeat('*', 80))
call denops#_internal#echo#warn(repeat('*', 80))
catch
call denops#_internal#echo#debug(printf(
\ 'Failed to reconnect channel `%s` [%d/%d]: %s',
Expand Down

0 comments on commit b3206a6

Please sign in to comment.