Fix formatting

This commit is contained in:
orip 2025-07-04 17:32:28 +03:00
parent 166d8b3e80
commit 1b3bb13278
1 changed files with 1 additions and 3 deletions

View File

@ -585,9 +585,7 @@ require('lazy').setup({
map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition') map('grt', require('telescope.builtin').lsp_type_definitions, '[G]oto [T]ype Definition')
-- Toggle to show/hide diagnostic messages -- Toggle to show/hide diagnostic messages
map('<leader>td', function() map('<leader>td', function() vim.diagnostic.enable(not vim.diagnostic.is_enabled()) end, '[T]oggle [D]iagnostics')
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) -- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
---@param client vim.lsp.Client ---@param client vim.lsp.Client