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