diff --git a/lua/weeheavy/plugins/tokyonight.lua b/lua/weeheavy/plugins/tokyonight.lua index df2f941..8cb5873 100644 --- a/lua/weeheavy/plugins/tokyonight.lua +++ b/lua/weeheavy/plugins/tokyonight.lua @@ -1,49 +1,51 @@ return { - "folke/tokyonight.nvim", - lazy = false, - priority = 1000, - opts = {}, - config = function() - local tokyonight = require('tokyonight') - tokyonight.setup({ - styles = { - comments = { italic = true }, - }, - on_colors = function(colors) - -- Brighten up comments a bit - colors.comment = '#888fac' - end, - -- Remove borders from Telescope windows - on_highlights = function(hl, c) - local prompt = '#4e3e6c' - 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, - }) - end + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + opts = {}, + config = function() + local tokyonight = require("tokyonight") + tokyonight.setup({ + styles = { + comments = { italic = true }, + }, + on_colors = function(colors) + -- Brighten up comments a bit + colors.comment = "#888fac" + -- Better visible visual selection background color + colors.bg_visual = "#e82a86" + end, + -- Remove borders from Telescope windows + on_highlights = function(hl, c) + local prompt = "#4e3e6c" + 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, + }) + end, }