Open vushu opened 5 years ago
I'm getting similar errors using this language server for javascript
https://github.com/theia-ide/typescript-language-server
That exact error appears and then some others depending the codeaction
Try Coc.nvim with typescript.
[LC] Error: Failure { jsonrpc: Some(V2), error: Error { code: MethodNotFound, message: "Unhandled method textDocument/completion", data: None }, id: Num(3) }
I think you should post log file defined by let g:LanguageClient_loggingFile = '/tmp/lc.log'
, so that we could inspect the lsp traffic to prove that this is LanguageClient-neovim issue or haxe-language-server issue.
The haxe-language-server listens to a didChangeConfiguration event at start and needs some initializationOptions
Did you upgrade to latest plugin version? Yes
Did you upgrade to/compile latest binary? Run shell command Yes
bin/languageclient --version
to get its version number. > languageclient 0.1.141(Neovim users only) Did you check output of
:checkhealth LanguageClient
? Everything looks good, see screenshotDid you check [troubleshooting]? Yes
Describe the bug
When installing this plugin while using haxe-language-server https://github.com/vshaxe/haxe-language-server I get this following error:
[LC] Error: Failure { jsonrpc: Some(V2), error: Error { code: MethodNotFound, message: "Unhandled method textDocument/completion", data: None }, id: Num(3) }
Environment
nvim --version
orvim --version
): NVIM v0.3.1git rev-parse --short HEAD
): 2b1350cTo Reproduce
Steps to reproduce the behavior:
after installing the haxe language server is build: ~/.vscode/extensions/nadako.vshaxe-2.7.0/server/bin/server.js create a simple Main.hx file:
Start vim using the minimal vimrc open Main.hx Error show up
Current behavior
Displays described error and nothing happens.
Expected behavior
Expect to autocomplete
Screenshots