Not seeing floating window with g:lsp_diagnostics_float_cursor=1 #1040
-
I am setting up vim-lsp as well as asyncomplete based off default configurations suggested in the README. I can see the diagnostic messages via virtual text if I enable it but not in a floating window if I use lsp_diagnostics_float_cursor.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hah. I didn't see this before I filed #1081, but I've been running into the same thing. |
Beta Was this translation helpful? Give feedback.
-
These are global files and I would put it right before |
Beta Was this translation helpful? Give feedback.
-
@prabirshrestha When setting let g:lsp_diagnostics_float_cursor = 1, diagnostics appear in a floating popup — but it’s not focusable or scrollable. In coc.nvim, the diagnostic popup can be clicked/focused and even scrolled. Is it possible to replicate this with vim-lsp on Neovim? I’m looking for a way to make the popup focusable, or display diagnostics in a floating window that I can interact with using normal keys. |
Beta Was this translation helpful? Give feedback.
let g:lsp_diagnostics_float_cursor = 1
flag is checked on very early so make sure to move it outside ofon_lsp_buffer_enabled
function.These are global files and I would put it right before
register_server
calls.