This commit is contained in:
guru245 2025-06-24 22:36:19 +09:00 committed by GitHub
commit f3bac1dbc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -572,6 +572,11 @@ require('lazy').setup({
-- the definition of its *type*, not where it was *defined*.
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
-- Toggle to show/hide diagnostic messages
map('<leader>td', function()
vim.diagnostic.enable(not vim.diagnostic.is_enabled())
end, '[T]oggle [D]iagnostics')
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
---@param client vim.lsp.Client
---@param method vim.lsp.protocol.Method