fix!: inlay hint toggle (toggles globally now)
parent
9bbe4516f4
commit
331c34b147
|
@ -59,7 +59,7 @@ local on_attach_def = function(client, bufnr)
|
||||||
},
|
},
|
||||||
i = {
|
i = {
|
||||||
function()
|
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,
|
end,
|
||||||
"LSP inlay hints",
|
"LSP inlay hints",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue