✨ feat(nvim): keymap for toggling inlay hints
This commit is contained in:
parent
f83063bedd
commit
c2cc39d891
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,12 @@ end, { desc = "Google" })
|
|||
vim.keymap.set("x", "<leader>?", function()
|
||||
google(vim.fn.getreg("g"), false)
|
||||
end, { desc = "Google" })
|
||||
|
||||
if vim.lsp.inlay_hint then
|
||||
vim.keymap.set("n", "<leader>uh", function()
|
||||
vim.lsp.inlay_hint(0, nil)
|
||||
end, { desc = "Toggle Inlay Hints" })
|
||||
end
|
||||
-- map(
|
||||
-- "n",
|
||||
-- "<leader>xs",
|
||||
|
|
Loading…
Add table
Reference in a new issue