From cf62230db02898b83148b8a6fd014fd99ab4b1a1 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 13 Jan 2025 15:29:56 +0100 Subject: [PATCH] big diagnostic --- lua/custom/plugins/configs/lsp.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/custom/plugins/configs/lsp.lua b/lua/custom/plugins/configs/lsp.lua index b9c5ecf..ab2c740 100644 --- a/lua/custom/plugins/configs/lsp.lua +++ b/lua/custom/plugins/configs/lsp.lua @@ -67,6 +67,8 @@ vim.api.nvim_create_autocmd('LspAttach', { -- For example, in C this would take you to the header. map('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') + map('gl', vim.diagnostic.open_float, 'Make the diagnostic big') + -- 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