fix(nvim): toggle of inlay hints
parent
0a0c675552
commit
a9e0b92d81
|
@ -64,7 +64,7 @@ local on_attach_def = function(client, bufnr)
|
||||||
},
|
},
|
||||||
i = {
|
i = {
|
||||||
function()
|
function()
|
||||||
vim.lsp.inlay_hint(bufnr, nil)
|
vim.lsp.inlay_hint.enable(bufnr, not vim.lsp.inlay_hint.is_enabled(bufnr))
|
||||||
end,
|
end,
|
||||||
"LSP inlay hints",
|
"LSP inlay hints",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue