From 88ac5cb9f0161a71a621bdeb86885aa1153f4d06 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Fri, 10 Jan 2025 01:05:48 +0100 Subject: [PATCH] Set bg to none instead of same as terminal. This works better with transparent terminals. --- home/.config/nvim/lua/plugs/leap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/plugs/leap.lua b/home/.config/nvim/lua/plugs/leap.lua index 689a72f..7ce933e 100644 --- a/home/.config/nvim/lua/plugs/leap.lua +++ b/home/.config/nvim/lua/plugs/leap.lua @@ -5,7 +5,7 @@ colors.generate(true) local function save_and_set_invisible_inlay_hints_hl() saved_highlights = vim.api.nvim_get_hl_by_name("LspInlayHint", true) - vim.api.nvim_set_hl(0, "LspInlayHint", { fg = colors.bg, bg = colors.bg }) + vim.api.nvim_set_hl(0, "LspInlayHint", { fg = colors.bg, bg = "none" }) end local function restore_inlay_hints_hl()