added borders to telescope

This commit is contained in:
2022-10-10 17:24:57 +02:00
parent 7fc2db313b
commit c057d8c0ab
3 changed files with 122 additions and 107 deletions

View File

@@ -5,8 +5,8 @@ return {
local tokyonight = require("tokyonight")
tokyonight.setup({
style = "moon",
-- transparent = true,
-- hide_inactive_statusline = false,
--transparent = true,
hide_inactive_statusline = false,
sidebars = {
"qf",
"vista_kind",
@@ -24,34 +24,34 @@ return {
hl.CursorLineNr = { fg = c.orange, bold = true }
-- borderless telescope
local prompt = "#2d3149"
hl.TelescopeNormal = {
bg = c.bg_dark,
fg = c.fg_dark,
}
--local prompt = "#2d3149"
--hl.TelescopeNormal = {
-- bg = c.bg_dark,
-- fg = c.fg_dark,
--}
hl.TelescopeBorder = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopePromptNormal = {
bg = prompt,
}
hl.TelescopePromptBorder = {
bg = prompt,
fg = prompt,
}
hl.TelescopePromptTitle = {
bg = c.fg_gutter,
fg = c.orange,
}
hl.TelescopePreviewTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopeResultsTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
-- fg = c.bg_dark,
}
--hl.TelescopePromptNormal = {
-- bg = prompt,
--}
--hl.TelescopePromptBorder = {
-- bg = prompt,
-- fg = prompt,
--}
--hl.TelescopePromptTitle = {
-- bg = c.fg_gutter,
-- fg = c.orange,
--}
--hl.TelescopePreviewTitle = {
-- bg = c.bg_dark,
-- fg = c.bg_dark,
--}
--hl.TelescopeResultsTitle = {
-- bg = c.bg_dark,
-- fg = c.bg_dark,
--}
end,
})
tokyonight.load()