Skip to content

Commit

Permalink
add hint message
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Jan 7, 2024
1 parent bebd0ab commit 81c83e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autoload/easycomplete/action/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ function! s:HandleLspCallback(server_name, plugin_name, data) abort
if easycomplete#lsp#client#is_error(a:data) || !has_key(a:data, 'response') ||
\ !has_key(a:data['response'], 'result')
call easycomplete#complete(a:plugin_name, l:ctx, l:ctx['startcol'], [])
echom "lsp error response"
if a:plugin_name == "py"
call s:log('Lsp Error', 'Please delete global pyls `rm /usr/local/bin/pyls` and reinstall pyls.')
else
echom "lsp error response"
endif
return
endif

Expand Down

0 comments on commit 81c83e7

Please sign in to comment.