Skip to content

Commit

Permalink
Merge pull request morhetz#1 from AlvaroMlgs/hls_highlight_signed
Browse files Browse the repository at this point in the history
Customizable hlsearch highlight color (similar to hls_cursor setting)
  • Loading branch information
AlvaroMlgs authored Mar 25, 2019
2 parents cb4e7a5 + a0b9e13 commit 57fdfe9
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 @@ -305,6 +305,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 @@ -506,7 +511,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 57fdfe9

Please sign in to comment.