Merge 488feb5853
into 3338d39206
This commit is contained in:
commit
f3bac1dbc8
5
init.lua
5
init.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue