Open spf3000 opened 6 years ago
Please try increase the timeout setting https://github.com/autozimu/LanguageClient-neovim/blob/5e968547dea733a25de74c1f9babd9e77459598a/doc/LanguageClient.txt#L261-L267
@autozimu I set it to 30 - still same problem - timeout. I got it working by switching to ncm2 instead of deoplete - even if I don't understand what the issue was still. I know sbt-server is not going to give you completions - so perhaps there is an issue with using a server without completions when paired with deoplete?
Seems like because language server doesn't support completion and doesn't respond timely, language client keeps waiting until timing out, which blocks processing other messages.
bin/languageclient --version
to get its version number.:checkhealth LanguageClient
? YDescribe the bug
When connecting to sbt server for Scala files, Language-Server fails when deoplete is turned on.
Environment
Nvim version: NVIM v0.3.0
bin/languageclient --version
): languageclient 0.1.110augroup filetype_scala autocmd! autocmd BufReadPost *.scala setlocal filetype=scala augroup END
" Always draw sign column. Prevent buffer moving when adding/deleting sign. set signcolumn=yes
let g:LanguageClient_serverCommands = { \ 'scala': ['node', expand('/usr/local/bin/sbt-server-stdio.js')] \ } let g:deoplete#enable_at_startup = 1