prabirshrestha / vim-lsp

async language server protocol plugin for vim and neovim
MIT License
3.07k stars 303 forks source link

Manually open the diagnostic float with function #1519

Open saccarosium opened 7 months ago

saccarosium commented 7 months ago

Hi, Would be great have a function that let you manually open the diagnostic float. Just like the neovim's built in [lsp](https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.open_float()).

The behavior of g:lsp_diagnostics_float_cursor is very finicky and I found myself multiple time restarting the editor to get it to work properly.