We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3338d39 commit 488feb5Copy full SHA for 488feb5
init.lua
@@ -572,6 +572,11 @@ require('lazy').setup({
572
-- the definition of its *type*, not where it was *defined*.
573
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
574
575
+ -- Toggle to show/hide diagnostic messages
576
+ map('<leader>td', function()
577
+ vim.diagnostic.enable(not vim.diagnostic.is_enabled())
578
+ end, '[T]oggle [D]iagnostics')
579
+
580
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
581
---@param client vim.lsp.Client
582
---@param method vim.lsp.protocol.Method
0 commit comments