Neovim-from-scratch
Neovim-from-scratch copied to clipboard
show_line_diagnostics depreciated
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>',
nice!