fix!: inlay hint toggle (toggles globally now)

This commit is contained in:
Moritz Böhme 2024-06-30 18:49:14 +02:00
parent 9bbe4516f4
commit 331c34b147
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -59,7 +59,7 @@ local on_attach_def = function(client, bufnr)
},
i = {
function()
vim.lsp.inlay_hint.enable(bufnr, not vim.lsp.inlay_hint.is_enabled(bufnr))
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
end,
"LSP inlay hints",
},