Skip to content

Commit

Permalink
fix(vim): invisible Search when cursorline is set
Browse files Browse the repository at this point in the history
issue noticed when `coc.nvim` plugin when listing results of LSP find-references
  • Loading branch information
lekemula committed Sep 20, 2024
1 parent a2bb86e commit 25425c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions colors/gruvbox-material.vim
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,13 @@ else
endif
endif
endif
call gruvbox_material#highlight('IncSearch', s:palette.bg0, s:palette.bg_red)
call gruvbox_material#highlight('Search', s:palette.bg0, s:palette.bg_green)
if has('nvim')
call gruvbox_material#highlight('IncSearch', s:palette.bg0, s:palette.bg_red)
call gruvbox_material#highlight('Search', s:palette.bg0, s:palette.bg_green)
else
call gruvbox_material#highlight('IncSearch', s:palette.bg_red, s:palette.bg0, 'reverse')
call gruvbox_material#highlight('Search', s:palette.bg_green, s:palette.bg0, 'reverse')
endif
highlight! link CurSearch IncSearch
call gruvbox_material#highlight('ColorColumn', s:palette.none, s:palette.bg2)
if s:configuration.ui_contrast ==# 'low'
Expand Down

0 comments on commit 25425c4

Please sign in to comment.