Enable inlay hints by default

This commit is contained in:
Imbus 2024-08-07 16:57:04 +02:00
parent 972ba828f2
commit 28d4787d08

View file

@ -138,6 +138,7 @@ return { -- LSP Configuration & Plugins
--
-- This may be unwanted, since they displace some of your code
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
vim.lsp.inlay_hint.enable(true)
map('<leader>th', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
end, '[T]oggle Inlay [H]ints')