From 8faced2c055426a92899bcd0a4f6bf45ba1b6bb1 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 30 Oct 2024 00:41:16 +0200 Subject: Fixed warning to actually goto warning, replaced g+key to +key --- .config/nvim/lua/custom/config/lsp-keymaps.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/nvim/lua/custom/config/lsp-keymaps.lua') diff --git a/.config/nvim/lua/custom/config/lsp-keymaps.lua b/.config/nvim/lua/custom/config/lsp-keymaps.lua index 4613c12..7bbc2e8 100644 --- a/.config/nvim/lua/custom/config/lsp-keymaps.lua +++ b/.config/nvim/lua/custom/config/lsp-keymaps.lua @@ -29,10 +29,10 @@ local keymaps = { { 'n', 'R', 'Lspsaga rename', { desc = '[R]ename' } }, { { 'n', 'i' }, '', 'Lspsaga code_action', { desc = 'Code Actions' } }, { 'n', 'ca', 'Lspsaga code_action', { desc = '[C]ode [A]ctions' } }, - { 'n', 'ge', next_diagnostic(severity.ERROR), { desc = '[G]oto [E]rror' } }, - { 'n', 'gE', prev_diagnostic(severity.ERROR), { desc = '[G]oto [E]rror (prev)' } }, - { 'n', 'gw', next_diagnostic(severity.ERROR), { desc = '[G]oto [W]arning' } }, - { 'n', 'gW', prev_diagnostic(severity.ERROR), { desc = '[G]oto [W]arning (prev)' } }, + { 'n', 'e', next_diagnostic(severity.ERROR), { desc = 'Goto [E]rror' } }, + { 'n', 'E', prev_diagnostic(severity.ERROR), { desc = 'Goto [E]rror (prev)' } }, + { 'n', 'w', next_diagnostic(severity.WARN), { desc = 'Goto [W]arning' } }, + { 'n', 'W', prev_diagnostic(severity.WARN), { desc = 'Goto [W]arning (prev)' } }, { 'n', 'D', cursor_diagnostics, { desc = '[D]iagnostics under cursor' } }, } -- cgit v1.3.1