Merge remote-tracking branch 'origin/nixos' into nixos

This commit is contained in:
Moritz Böhme 2023-09-10 13:34:24 +02:00
commit ce2bddc541
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 36 additions and 2 deletions

View file

@ -52,7 +52,17 @@ local on_attach_def = function(client, bufnr)
},
},
t = {
l = { lsp_lines.toggle, "LSP lines" },
l = {
function()
lsp_lines.toggle()
if vim.diagnostic.is_disabled() then
vim.diagnostic.enable()
else
vim.diagnostic.disable()
end
end,
"LSP lines",
},
i = {
function()
vim.lsp.inlay_hint(bufnr, nil)