We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e63a5 commit 7c090c0Copy full SHA for 7c090c0
1 file changed
init.lua
@@ -576,6 +576,11 @@ require('lazy').setup({
576
-- the definition of its *type*, not where it was *defined*.
577
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
578
579
+ -- Toggle to show/hide diagnostic messages
580
+ map('<leader>td', function()
581
+ vim.diagnostic.enable(not vim.diagnostic.is_enabled())
582
+ end, '[T]oggle [D]iagnostics')
583
+
584
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
585
---@param client vim.lsp.Client
586
---@param method vim.lsp.protocol.Method
0 commit comments