From e725118e22be4845b6ce5152afba624beca63d44 Mon Sep 17 00:00:00 2001 From: Stephen Doyle Date: Wed, 2 Oct 2024 09:37:52 +0100 Subject: [PATCH] feat: add key binding for expanding errors Added e for displaying expanded inline LSP errors. --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 6fafb57a..b19bb9a2 100644 --- a/init.lua +++ b/init.lua @@ -553,6 +553,9 @@ require('lazy').setup({ -- For example, in C this would take you to the header. map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') + -- Open a floating window with the diagnostic list + map('e', vim.diagnostic.open_float, '[E]rrors') + -- The following two autocommands are used to highlight references of the -- word under your cursor when your cursor rests there for a little while. -- See `:help CursorHold` for information about when this is executed