From 80a3f2eba101692432ca13d65ea2578cb3dbb6f4 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 13 Aug 2024 19:22:20 +0200 Subject: [PATCH] nvim: telescope: have a space as border instead of just color the background same as foreground. --- nvim/lua/config/telescope.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nvim/lua/config/telescope.lua b/nvim/lua/config/telescope.lua index b0a0e13..db65a50 100644 --- a/nvim/lua/config/telescope.lua +++ b/nvim/lua/config/telescope.lua @@ -1,7 +1,13 @@ return function() local icons = require("config.icons") local actions = require("telescope.actions") - local path_delim = require("utils.path").delimiter() + local path_delim = require("utils.path").delimiter() + + local border = { + prompt = { " ", " ", " ", " ", " ", " ", " ", " " }, + results = { " ", " ", " ", " ", " ", " ", " ", " " }, + preview = { " ", " ", " ", " ", " ", " ", " ", " " }, + } local dropdown_opts = { previewer = false, @@ -10,6 +16,7 @@ return function() layout_config = { prompt_position = "top", }, + borderchars = border, } return { defaults = { @@ -26,6 +33,7 @@ return function() [""] = actions.close, }, }, + borderchars = border }, pickers = { find_files = {