julia-vscode / LanguageServer.jl

An implementation of the Microsoft Language Server Protocol for the Julia language.
Other
373 stars 81 forks source link

completion not working on languageclient-neovim #282

Open rebelot opened 6 years ago

rebelot commented 6 years ago

The server is working fine, (renames, gotos and docs) except for completion: I get the following error: data did not match any variant of untagged enum CompletionResponse

Running on Julia 1.0

Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'JuliaEditorSupport/julia-vim'
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' }

let g:default_julia_version = '1.0'
let g:LanguageClient_serverCommands = {
        \ 'julia': ['/Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia', '--startup-file=no', '--history-file=no', '-e', '
        \       import LanguageServer;
        \       server = LanguageServer.LanguageServerInstance(stdin, stdout, false);
        \       server.runlinter = true;
        \       run(server);
        \   ']
        \}
ZacLN commented 6 years ago

I'm afraid I don't know what CompletionResponse is, it's not part of the LS protocol