You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With let g:lsp_diagnostics_echo_cursor = 1 the full error message isn't visible.
For example, a multi-line message from LSP is:
/private/tmp/x/Main.hs:28:9: error:\n • Couldn't match expected type ‘IO a0’ with actual type ‘Bool’\n • In a stmt of a 'do' block: [ more snipped out ]
Even if I grow the command window what I see is a truncated version without newlines:
The text was updated successfully, but these errors were encountered:
- if l:winwidth > 5 && l:winwidth < strdisplaywidth(l:msg)
- let l:msg = l:msg[:l:winwidth - 5] . '...'
- endif
Then I get almost the behavior I want. I can go down to escape the command bar but going up (k) doesn't work. Would you be up for a patch that adds some suitable global, like
let g:lsp_diagnostics_echo_cursor_full_message = 1
" Includes newline and does not truncate error messages when echoing.
" Must also have g:lsp_diagnostics_echo_cursor = 1
With
let g:lsp_diagnostics_echo_cursor = 1
the full error message isn't visible.For example, a multi-line message from LSP is:
Even if I grow the command window what I see is a truncated version without newlines:
The text was updated successfully, but these errors were encountered: