feat: add key binding for expanding errors
Added <leader>e for displaying expanded inline LSP errors.
This commit is contained in:
parent
69782d4a3a
commit
e725118e22
3
init.lua
3
init.lua
|
|
@ -553,6 +553,9 @@ require('lazy').setup({
|
||||||
-- For example, in C this would take you to the header.
|
-- For example, in C this would take you to the header.
|
||||||
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
|
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
|
-- The following two autocommands are used to highlight references of the
|
||||||
-- word under your cursor when your cursor rests there for a little while.
|
-- word under your cursor when your cursor rests there for a little while.
|
||||||
-- See `:help CursorHold` for information about when this is executed
|
-- See `:help CursorHold` for information about when this is executed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue