We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc245e commit e244058Copy full SHA for e244058
1 file changed
init.lua
@@ -559,6 +559,9 @@ require('lazy').setup({
559
-- For example, in C this would take you to the header.
560
map('grD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
561
562
+ -- Toggle to show/hide diagnostic messages
563
+ map('<leader>td', function() vim.diagnostic.enable(not vim.diagnostic.is_enabled()) end, '[T]oggle [D]iagnostics')
564
+
565
-- The following two autocommands are used to highlight references of the
566
-- word under your cursor when your cursor rests there for a little while.
567
-- See `:help CursorHold` for information about when this is executed
0 commit comments