Better visible visual selection background color

This commit is contained in:
Oliver Ladner 2024-01-18 15:15:05 +01:00
commit b3c94daa67

View file

@ -4,18 +4,20 @@ return {
priority = 1000, priority = 1000,
opts = {}, opts = {},
config = function() config = function()
local tokyonight = require('tokyonight') local tokyonight = require("tokyonight")
tokyonight.setup({ tokyonight.setup({
styles = { styles = {
comments = { italic = true }, comments = { italic = true },
}, },
on_colors = function(colors) on_colors = function(colors)
-- Brighten up comments a bit -- Brighten up comments a bit
colors.comment = '#888fac' colors.comment = "#888fac"
-- Better visible visual selection background color
colors.bg_visual = "#e82a86"
end, end,
-- Remove borders from Telescope windows -- Remove borders from Telescope windows
on_highlights = function(hl, c) on_highlights = function(hl, c)
local prompt = '#4e3e6c' local prompt = "#4e3e6c"
hl.TelescopeNormal = { hl.TelescopeNormal = {
bg = c.bg_dark, bg = c.bg_dark,
fg = c.fg_dark, fg = c.fg_dark,
@ -45,5 +47,5 @@ return {
} }
end, end,
}) })
end end,
} }