Fixed telescope highlighting

This commit is contained in:
Titus Moore 2023-11-07 12:54:16 -05:00
parent 9e6838bd6e
commit 36f9cbb359
1 changed files with 14 additions and 16 deletions

View File

@ -147,23 +147,15 @@ require('lazy').setup({
opts = {}, opts = {},
}, },
-- require('tokyonight').setup({
-- on_highlights = function(h1, c)
-- h1.TelescopeResultsTitle = {
-- bg = c.bg_statusline,
-- fg = c.fg_sidebar,
-- }
-- end
-- })
{ -- {
-- Theme inspired by Atom -- -- Theme inspired by Atom
'navarasu/onedark.nvim', -- 'navarasu/onedark.nvim',
priority = 1000, -- priority = 1000,
config = function() -- config = function()
vim.cmd.colorscheme 'onedark' -- vim.cmd.colorscheme 'onedark'
end, -- end,
}, -- },
{ {
-- Set lualine as statusline -- Set lualine as statusline
@ -249,6 +241,12 @@ require('tokyonight').setup({
style = 'night', style = 'night',
terminal_colors = true, terminal_colors = true,
sidebars = { 'qf', 'vista_kind', 'terminal', 'packer' }, sidebars = { 'qf', 'vista_kind', 'terminal', 'packer' },
on_highlights = function(hl, c)
hl.TelescopeSelection = {
fg = c.cyan,
bg = c.bg_visual,
}
end
}) })
vim.cmd.colorscheme 'tokyonight' vim.cmd.colorscheme 'tokyonight'