Config updates

This commit is contained in:
Ismo Vuorinen
2023-02-16 16:19:49 +02:00
parent 6f246744d4
commit e3fa6772f0
9 changed files with 154 additions and 81 deletions

View File

@@ -3,7 +3,9 @@ return function(client, bufnr)
local inlayhints_avail, inlayhints = pcall(require, "lsp-inlayhints")
if inlayhints_avail then
inlayhints.on_attach(client, bufnr)
vim.keymap.set("n", "<leader>uH", function() inlayhints.toggle() end, { desc = "Toggle inlay hints" })
vim.keymap.set("n", "<leader>uH",
function() inlayhints.toggle() end,
{ desc = "Toggle inlay hints" })
end
end
end