From ffd97c9fe1ba28893e75ebf79447d42a1c2044dd Mon Sep 17 00:00:00 2001 From: louie Date: Fri, 1 Jul 2022 15:46:17 -0700 Subject: Replaced deprecated line --- lua/user/lsp/handlers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/user') diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index 229bb75..7c3867f 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -82,7 +82,8 @@ local function lsp_keymaps(bufnr) bufnr, "n", "gl", - 'lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })', + --'lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })', + 'lua vim.diagnostic.open_float({ border = "rounded" })', opts ) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", 'lua vim.diagnostic.goto_next({ border = "rounded" })', opts) -- cgit