From 1b262556c03efd88e271a0bb7dae9b29a7e73d89 Mon Sep 17 00:00:00 2001 From: ray-x Date: Sun, 21 Aug 2022 19:58:45 +1000 Subject: [PATCH] reuse telecsope color scheme --- lua/navigator/gui.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/navigator/gui.lua b/lua/navigator/gui.lua index 519ea85..0d66844 100644 --- a/lua/navigator/gui.lua +++ b/lua/navigator/gui.lua @@ -35,8 +35,14 @@ function M.new_list_view(opts) opts.border = config.border or 'shadow' if vim.fn.hlID('TelescopePromptBorder') > 0 then opts.border_hl = 'TelescopePromptBorder' + opts.list_hl = 'TelescopeNormal' + opts.bg_hl = 'TelescopePreviewNormal' + opts.sel_hl = 'TelescopeSelection' else opts.border_hl = 'FloatBorder' + opts.bg_hl = 'NormalFloat' + opts.list_hl = 'NormalFloat' + opts.sel_hl = 'PmenuSel' end if not items or vim.tbl_isempty(items) then log('empty data return')