update deprecated diagnostic show

14-null-ls
christianchiarulli 3 years ago
parent 6fddfcb743
commit efd287ffa0

@ -76,7 +76,7 @@ local function lsp_keymaps(bufnr)
bufnr, bufnr,
"n", "n",
"gl", "gl",
'<cmd>lua vim.lsp.diagnostic.show_line_diagnostics({ border = "rounded" })<CR>', '<cmd>lua vim.diagnostic.open_float()<CR>',
opts opts
) )
vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts)

Loading…
Cancel
Save