From 8670032827021a32e3cc31ae41c3eac57b65e1f7 Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Tue, 30 Jan 2024 11:42:50 -0600 Subject: [PATCH] Changing the shortcuts for cycling between diagnostics. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9fcd71a..ee73305 100644 --- a/init.lua +++ b/init.lua @@ -303,8 +303,8 @@ local on_attach = function(client, bufnr) -- Keyboard Mappings local bufopts = { noremap = true, silent = true, buffer = bufnr } - keymap('n', '', vim.diagnostic.goto_prev, bufopts) - keymap('n', '', vim.diagnostic.goto_next, bufopts) + keymap('n', '', vim.diagnostic.goto_prev, bufopts) + keymap('n', '', vim.diagnostic.goto_next, bufopts) -- keymap('n', 'gl', vim.diagnostic.open_float, bufopts) keymap('n', 'ga', vim.lsp.buf.code_action, bufopts) keymap('n', 'gD', vim.lsp.buf.declaration, bufopts)