fix: search hl

dev-remaster
Pocco81 3 years ago
parent d38d4459df
commit 4632b8b9a7

@ -1,5 +1,7 @@
local M = {}
local util = require("catppuccino.utils.util")
local is_prepacatppuccino6
local function set_prepacatppuccino6(val)
@ -28,8 +30,8 @@ function M.get(cp)
end
return {
LightspeedLabel = {bg = cp.catppuccino2_search, fg = cp.catppuccino11},
LightspeedOverlapped = {bg = cp.catppuccino2_visual, fg = cp.catppuccino11},
LightspeedLabel = {bg = util.darken(cp.catppuccino10, 0.3), fg = cp.catppuccino11},
LightspeedOverlapped = {bg = cp.util.darken(cp.catppuccino10, 0.2), fg = cp.catppuccino11},
LightspeedLabelDistant = {bg = cp.catppuccino4, fg = cp.catppuccino11},
LightspeedLabelDistantOverlapped = {bg = cp.catppuccino4, fg = cp.catppuccino11},
LightspeedShortcut = {bg = cp.catppuccino2, fg = cp.catppuccino7, style = "italic"},

@ -57,7 +57,7 @@ local function get_base()
PmenuThumb = { bg = cp.catppuccino13 }, -- Popup menu: Thumb of the scrollbar.
Question = { fg = cp.catppuccino10 }, -- |hit-enter| prompt and yes/no questions
QuickFixLine = { bg = cp.util.darken(cp.catppuccino10, 0.2), style = "bold" }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
Search = { bg = cp.catppuccino2_search, fg = cp.catppuccino11 }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand oucp.
Search = { bg = util.darken(cp.catppuccino10, 0.3), fg = cp.catppuccino11 }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand oucp.
IncSearch = { bg = cp.catppuccino3, fg = cp.black }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
SpecialKey = { fg = cp.catppuccino11 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { sp = cp.error, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.

Loading…
Cancel
Save