Fix formatting
This commit is contained in:
parent
166d8b3e80
commit
1b3bb13278
4
init.lua
4
init.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue