Skip to content

Commit

Permalink
fix(theme): search and replace highlight groups
Browse files Browse the repository at this point in the history
Now, the theme distinguish selected text when your using the search and
replace Vim/Neovim feature, the text selected is using a lighter yellow
background color. See more in the issue #46
After: https://i.imgur.com/UAOjIdD.png
  • Loading branch information
barrientosvctor committed Nov 27, 2024
1 parent 33f12f4 commit 3e56d7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/abyss/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ function M.get(user_opts)
FoldColumn = { bg = colors.bg_completion_sel },
SignColumn = { fg = colors.fg, bg = user_opts.transparent_background and colors.none or colors.bg },

IncSearch = { fg = colors.black, bg = colors.yellow },
Substitute = { link = "IncSearch" },
CurSearch = { fg = colors.black, bg = colors.heavyyellow, bold = true, underline = true },
IncSearch = { link = "CurSearch" },
Substitute = { link = "Search" },

LineNr = { fg = colors.lowgrey, bg = user_opts.transparent_background and colors.none or colors.bg },
LineNrAbove = { link = "LineNr" },
Expand Down

0 comments on commit 3e56d7c

Please sign in to comment.