From 28d4787d085a32f4e8013134e294b4dd5e3428ba Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 7 Aug 2024 16:57:04 +0200 Subject: [PATCH] Enable inlay hints by default --- lua/plugins/nvim-lspconfig.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/nvim-lspconfig.lua b/lua/plugins/nvim-lspconfig.lua index 5ef9985..677618c 100644 --- a/lua/plugins/nvim-lspconfig.lua +++ b/lua/plugins/nvim-lspconfig.lua @@ -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('th', function() vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled()) end, '[T]oggle Inlay [H]ints')