feat: disable inlay hints by default
This commit is contained in:
1 parent
577673fec4
commit
b90b56a4ae
1 file changed
-1
@@ -68,7 +68,6 @@ require("lz.n").load({
|
||||
end
|
||||
|
||||
if client:supports_method("textDocument/inlayHint", bufnr) then
|
||||
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
|
||||
map("n", "<leader>uh", function()
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled({ bufnr = bufnr }), { bufnr = bufnr })
|
||||
end, "Toggle inlay hints")
|
||||
|
||||
Reference in new issue
Block a user