Skip to content

Commit 827ea7c

Browse files
committed
adding diagnostic message keymap for LSP
1 parent 7f0b387 commit 827ea7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,8 @@ require('lazy').setup({
548548
-- For example, in C this would take you to the header.
549549
map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
550550

551+
-- Show LSP message
552+
map('gM', vim.diagnostic.open_float, '[G]oto [M]essage')
551553
-- The following two autocommands are used to highlight references of the
552554
-- word under your cursor when your cursor rests there for a little while.
553555
-- See `:help CursorHold` for information about when this is executed

0 commit comments

Comments
 (0)