From 99915a71df83a3ae4779b6b479ac9ecf3548c0e1 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 6 Aug 2024 12:14:44 +0200 Subject: [PATCH] Silencing diagnostics for now --- lua/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index bcfc338..1b7561a 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -6,8 +6,11 @@ vim.opt.hlsearch = true vim.keymap.set('n', '', 'nohlsearch') -- Diagnostic keymaps +---@diagnostic disable-next-line: deprecated vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' }) +---@diagnostic disable-next-line: deprecated vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' }) + vim.keymap.set('n', 'e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' }) vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })