From 1c359f02fed48b24a11cbe583fb25c2fffcf21a6 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Mon, 12 Jun 2023 22:36:47 +0200 Subject: [PATCH] some telescope color config --- lua/plugins/astrodark.lua | 8 ++++++++ lua/plugins/telescope.lua | 3 +++ 2 files changed, 11 insertions(+) diff --git a/lua/plugins/astrodark.lua b/lua/plugins/astrodark.lua index 4b216dc..e387953 100644 --- a/lua/plugins/astrodark.lua +++ b/lua/plugins/astrodark.lua @@ -46,6 +46,14 @@ return { ['Constant'] = { fg = 'NONE' }, ['@parameter'] = { fg = C.purple }, ['NormalFloat'] = { bg = C.surface0 }, + ['TelescopeBorder'] = { bg = C.surface0 }, + ['TelescopeNormal'] = { bg = C.surface0 }, + ['TelescopePreviewBorder'] = { link = 'TelescopeBorder' }, + ['TelescopeResultsBorder'] = { link = 'TelescopeResultsNormal' }, + ['TelescopePreviewNormal'] = { bg = C.surface0 }, + ['TelescopeTitle'] = { bg = C.surface0 }, + ['TelescopePromptNormal'] = { bg = C.surface0 }, + ['TelescopePromptBorder'] = { link = 'TelescopeBorder'}, } } }) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 56314d6..70ff28e 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -122,6 +122,9 @@ return { [''] = actions.smart_send_to_qflist, }, }, + results_title = false, + preview_title = false, + borderchars = { '', '', '', '', '', '', '', '' }, -- `hidden = true` is not supported in text grep commands. vimgrep_arguments = vimgrep_arguments, },