Closed RunningIkkyu closed 3 years ago
I think what you are seeing is due to the server sending the documentation for that as markdown
. I'm not sure if there's anything you can do to convince the server that that is not markdown, but if you want to get the raw text every time you can configure that with this:
let g:LanguageClient_preferredMarkupKind: ['plaintext', 'markdown']
That tells the server that you prefer plaintext over markdown. Setting only plaintext
should work as well.
@martskins Thank you so much, this solved my probelm:
let g:LanguageClient_preferredMarkupKind = ['plaintext', 'markdown']
bin/languageclient --version
to get its version number. Yes, and the version islanguageclient 0.1.160
:checkhealth LanguageClient
?Info
plugin version: Latest. Neovim version: NVIM v0.5.0 System: linux 5.6.19-2-MANJARO
Describe the bug
The text shows in hover got bad format, the hover will add upexpected backslash and empty lines automatically.
Here is my code:
And here is what I got in popup:
How to show raw comments in the hover?
Environment
nvim --version
orvim --version
):v0.5.0
git rev-parse --short HEAD
):d6d6d08
bin/languageclient --version
):0.1.160
Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', \ }
call plug#end()
let g:LanguageClient_serverCommands = { \ 'go': ['gopls'] \ }