1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 12:00:02 +02:00

nvim: telescope: have a space as border instead of just color the background same as foreground.

This commit is contained in:
Henrik Hautakoski 2024-08-13 19:22:20 +02:00
parent c8637d1aee
commit 80a3f2eba1

View file

@ -3,6 +3,12 @@ return function()
local actions = require("telescope.actions") 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 = { local dropdown_opts = {
previewer = false, previewer = false,
prompt_title = false, prompt_title = false,
@ -10,6 +16,7 @@ return function()
layout_config = { layout_config = {
prompt_position = "top", prompt_position = "top",
}, },
borderchars = border,
} }
return { return {
defaults = { defaults = {
@ -26,6 +33,7 @@ return function()
["<esc>"] = actions.close, ["<esc>"] = actions.close,
}, },
}, },
borderchars = border
}, },
pickers = { pickers = {
find_files = { find_files = {