Skip to content

Commit

Permalink
feat(extras): edit yazi find_position bg to NoiceVirtualText bg (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonknife committed May 26, 2024
1 parent b9b494f commit 1a9dff7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lua/tokyonight/extra/yazi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ local M = {}

--- @param colors ColorScheme
function M.generate(colors)
colors.bg_search = util.darken(colors.info, 0.1)
local yazi = util.template(
[[
[manager]
Expand All @@ -18,9 +19,7 @@ preview_hovered = { bg = "${bg_highlight}" }
# Find
find_keyword = { fg = "${bg_dark}", bg = "${orange}", bold = true }
# DiagnosticVirtualTextInfo/NoiceVirtualText bg is better
# than dark5 for find_position bg
find_position = { fg = "${blue2}", bg = "${dark5}", bold = true }
find_position = { fg = "${blue2}", bg = "${bg_search}", bold = true }
# Marker
marker_copied = { fg = "${green1}", bg = "${green1}" }
Expand Down

0 comments on commit 1a9dff7

Please sign in to comment.