Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Is there a way to show the error message below the statusline? #349

Closed
sbromberger opened this issue Mar 19, 2019 · 3 comments
Closed

Is there a way to show the error message below the statusline? #349

sbromberger opened this issue Mar 19, 2019 · 3 comments

Comments

@sbromberger
Copy link

sbromberger commented Mar 19, 2019

Using vim-lsp with gopls. Errors are showing up in the gutter (which is awesome) but I can't figure out how to display the error message itself. My preference would be to have the error message displayed under the statusline when I hover on the line (or even on the offending string, but right now the position within the line that's causing the error isn't shown).

Is there a configuration option I'm missing to do this?

Edited: see attached screenshot. It would be great to see the error message where the "vim-go" info currently is.

IMG_0054

@caksoylar
Copy link

You are possibly looking for let g:lsp_diagnostics_echo_cursor = 1 option, which doesn't seem to be documented in :help vim-lsp but is noted in the README.

@sbromberger
Copy link
Author

Thanks. I'll give this a try and reopen if I run into further issues.

@georgettica
Copy link

georgettica commented Jul 24, 2022

for me I did LspDocumentDiagnostics to see the error, if someone wants the explicit command (and not a wrapper)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants