mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 19:40:02 +02:00
nvim: telescope: have a space as border instead of just color the background same as foreground.
This commit is contained in:
parent
c8637d1aee
commit
80a3f2eba1
1 changed files with 9 additions and 1 deletions
|
|
@ -1,7 +1,13 @@
|
||||||
return function()
|
return function()
|
||||||
local icons = require("config.icons")
|
local icons = require("config.icons")
|
||||||
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,
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue