1
0

Change keymapping for inlay hints toggle

This commit is contained in:
Patrick Auernig 2025-01-04 18:46:31 +01:00
parent f01dc6d9f0
commit be951efd02

View File

@ -122,7 +122,7 @@ spec.config = function()
bufmap(buf, "n", "<Leader>ci", vim.diagnostic.open_float, "Show diagnostics") bufmap(buf, "n", "<Leader>ci", vim.diagnostic.open_float, "Show diagnostics")
bufmap(buf, "n", "<Leader>re", vim.lsp.buf.rename, "Rename item under cursor") bufmap(buf, "n", "<Leader>re", vim.lsp.buf.rename, "Rename item under cursor")
bufmap(buf, { "n", "i" }, "<C-h>", vim.lsp.buf.signature_help, "Open signature help") bufmap(buf, { "n", "i" }, "<C-h>", vim.lsp.buf.signature_help, "Open signature help")
bufmap(buf, "n", "<C-i>", toggle_inlay_hints, "Toggle LSP inlay hints") bufmap(buf, "n", "<Leader>ch", toggle_inlay_hints, "Toggle LSP inlay hints")
end end
}) })