1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +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

@ -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()
["<esc>"] = actions.close,
},
},
borderchars = border
},
pickers = {
find_files = {