diff options
author | louie <louie@example.com> | 2022-07-01 15:46:17 -0700 |
---|---|---|
committer | louie <louie@example.com> | 2022-07-01 15:46:17 -0700 |
commit | ffd97c9fe1ba28893e75ebf79447d42a1c2044dd (patch) | |
tree | 390a089cb1f3fd186c95ce6cd91b0733070f6eaa /lua/user | |
parent | 91d497f5659c2395c68d1706ce587c0688b8f9b0 (diff) |
Replaced deprecated line
Diffstat (limited to 'lua/user')
-rw-r--r-- | lua/user/lsp/handlers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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", - '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })<CR>', + --'<cmd>lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })<CR>', + '<cmd>lua vim.diagnostic.open_float({ border = "rounded" })<CR>', opts ) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts) |