Revert "colorscheme: use borderless telescope"

This reverts commit ce9dffb286.
This commit is contained in:
Guanran Wang 2024-06-16 06:51:01 +08:00
parent d7a985bb4b
commit 49f55400d0
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -2,41 +2,7 @@ return {
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {
-- Borderless telescope
-- see: https://github.com/folke/tokyonight.nvim?tab=readme-ov-file#borderless-telescope-example
on_highlights = function(hl, c)
-- local prompt = "#2d3149"
local prompt = c.bg_highlight
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 = prompt,
fg = prompt,
}
hl.TelescopePreviewTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopeResultsTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
end,
},
opts = {},
init = function()
vim.cmd([[ colorscheme tokyonight-night ]])
end,