fix(nvim): more inlay_hints problems

This commit is contained in:
Jalil David Salamé Messina 2024-04-22 12:58:26 +02:00
parent 87efdebd12
commit e1069e035a
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -58,7 +58,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(), { bufnr = 0 })
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled(0), { bufnr = 0 })
end,
{ desc = '[H]ints [T]oggle', ${opts} }
)