feat: add key binding for expanding errors

Added <leader>e for displaying expanded inline LSP errors.
This commit is contained in:
Stephen Doyle 2024-10-02 09:37:52 +01:00
parent 69782d4a3a
commit e725118e22
1 changed files with 3 additions and 0 deletions

View File

@ -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('<leader>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