Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

show_line_diagnostics depreciated

Open AlwynYin opened this issue 2 years ago • 1 comments

Each time i press gl, a message shows up saying that show_line_diagnostics is depreciated. What happens seems to be a neovim plugin has been integrated to neovim itself, and the function name has changed. See here. Maybe change this line

'<cmd>lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })<CR>',

in lua/user/lsp/handlers.lua into this:

'<cmd>lua vim.diagnostic.open_float(0, {scope="line"})<CR>',

AlwynYin avatar Jan 29 '22 05:01 AlwynYin

nice!

parraletz avatar Feb 06 '22 22:02 parraletz