[fix] nvim: update noice.nvim and inlay_hints

Both were broken by a nightly change.
This commit is contained in:
Jalil David Salamé Messina 2024-05-10 21:20:16 +02:00
parent 61a5d8371c
commit a8596bd19f
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 19 additions and 1 deletions

View file

@ -56,7 +56,7 @@
end
-- Some Lsp servers do not advertise inlay hints properly so enable this keybinding regardless
vim.keymap.set('n', '<space>ht', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled(0), { bufnr = 0 })
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled({bufnr = 0}), { bufnr = 0 })
end,
{ desc = '[H]ints [T]oggle', ${opts} }
)