-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
- Reproduction steps (from clean state)
:call LanguageClient_textDocument_hover()
- server returns null
- LanguageClient-neovim errors
invalid type: null, expected struct Hover
/tmp/LanguageClient.log
2018-01-21T00:12:39.897253168-08:00 ERROR languageclient::languageclient - Error handling message. Message: {"id": 13, "jsonrpc": "2.0", "method": "textDocument/hover", "params": {"character": 11, "handle": true, "languageId": "cpp", "line": 12, "buftype": "", "filename": "/tmp/d/a.cc"}}. Error: Err(ErrorImpl { code: Message("invalid type: null, expected struct Hover"), line: 0, column: 0 })
Actual traffic:
read Dev/Util/cquery/build/debug/bin/cquery
{"jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":3,"line":9},"textDocument":{"uri":"file:///tmp/d/a.cc"}
},"id":40}
write Dev/Util/cquery/build/debug/bin/cquery
{"jsonrpc":"2.0","id":40,"result":null}
This is annoying for au CursorMoved * if b:Plugin_LanguageClient_started | call LanguageClient_textDocument_hover() | endif
YaLTeR
Metadata
Metadata
Assignees
Labels
No labels