mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-02-05 09:43:43 +00:00
Config updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user