diff options
| author | christianchiarulli <chrisatmachine@gmail.com> | 2022-01-02 14:27:12 -0500 |
|---|---|---|
| committer | christianchiarulli <chrisatmachine@gmail.com> | 2022-01-02 14:27:12 -0500 |
| commit | efd287ffa01e611a0981b34e70538528e5e96fdb (patch) | |
| tree | eac4181c840d5e5c833ce503d871f8cb64dc0e4b | |
| parent | 6fddfcb743fe2f4980608853ef27fb9b5737a3ee (diff) | |
update deprecated diagnostic show
| -rw-r--r-- | lua/user/lsp/handlers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index fb8b7f8..5dfde9b 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -76,7 +76,7 @@ local function lsp_keymaps(bufnr) bufnr, "n", "gl", - '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })<CR>', + '<cmd>lua vim.diagnostic.open_float()<CR>', opts ) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts) |
