From 7a82aa3a97a2ef3e9c3db3fa8a83e1183562157d Mon Sep 17 00:00:00 2001 From: loctvl842 Date: Fri, 8 Dec 2023 17:50:37 +0700 Subject: [PATCH] fix: Missing background in TelescopeSelection --- lua/monokai-pro/theme/plugins/telescope.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/monokai-pro/theme/plugins/telescope.lua b/lua/monokai-pro/theme/plugins/telescope.lua index 72b857c..2f8865c 100644 --- a/lua/monokai-pro/theme/plugins/telescope.lua +++ b/lua/monokai-pro/theme/plugins/telescope.lua @@ -15,14 +15,20 @@ M.setup = function(c, config, hp) -- foreground local common_fg = hp.lighten(c.sideBar.foreground, 30) return { - TelescopeSelection = isBackgroundClear and {} or { + TelescopeSelection = isBackgroundClear and { + bg = hp.blend(c.editorSuggestWidget.selectedBackground, 0.3, transparent_bg), + bold = true, + } or { bg = hp.blend(c.base.green, 0.2, result_bg), bold = true, }, - TelescopeSelectionCaret = { + TelescopeSelectionCaret = isBackgroundClear and { + bg = hp.blend(c.editorSuggestWidget.selectedBackground, 0.3, transparent_bg), + bold = true, + } or { bg = hp.blend(c.base.green, 0.2, result_bg), - fg = c.base.green + fg = c.base.green, }, TelescopeNormal = isBackgroundClear and {