Skip to content

Commit

Permalink
Merge pull request #73 from AlvaroMlgs/master
Browse files Browse the repository at this point in the history
 Customizable hlsearch highlight color (similar to hls_cursor setting)
  • Loading branch information
rbong committed May 28, 2019
2 parents 4cf279d + 57fdfe9 commit 8097e64
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion colors/gruvbox.vim
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@ if exists('g:gruvbox_hls_cursor')
let s:hls_cursor = get(s:gb, g:gruvbox_hls_cursor)
endif

let s:hls_highlight = s:orange
if exists('g:gruvbox_hls_highlight')
let s:hls_highlight = get(s:gb, g:gruvbox_hls_highlight)
endif

let s:number_column = s:none
if exists('g:gruvbox_number_column')
let s:number_column = get(s:gb, g:gruvbox_number_column)
Expand Down Expand Up @@ -537,7 +542,7 @@ hi! link SpecialKey GruvboxBg2
call s:HL('Visual', s:none, s:bg3, s:invert_selection)
hi! link VisualNOS Visual

call s:HL('Search', s:yellow, s:bg0, s:inverse)
call s:HL('Search', s:hls_highlight, s:bg0, s:inverse)
call s:HL('IncSearch', s:hls_cursor, s:bg0, s:inverse)

call s:HL('Underlined', s:blue, s:none, s:underline)
Expand Down

0 comments on commit 8097e64

Please sign in to comment.