Removed g:highlight_linkage
parent
c15aef4619
commit
a051f8c98a
|
@ -201,9 +201,7 @@ function! highlight#activate_register(reg)
|
||||||
let search = search . key . '\|'
|
let search = search . key . '\|'
|
||||||
endfor
|
endfor
|
||||||
let @/ = search[:-3]
|
let @/ = search[:-3]
|
||||||
for l:group in g:highlight_linkage
|
exe 'hi! link Search' highlight#get_group_name(a:reg)
|
||||||
exe 'hi! link' l:group highlight#get_group_name(a:reg)
|
|
||||||
endfor
|
|
||||||
set hlsearch
|
set hlsearch
|
||||||
else
|
else
|
||||||
let @/ = ''
|
let @/ = ''
|
||||||
|
|
|
@ -45,19 +45,6 @@ if !exists('g:highlight_registry')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
" g:highlight_linkage :: [ String ] {{{2
|
|
||||||
" ------------------------------------------------------------------------------
|
|
||||||
" Provides support for adding linkage to other accent groups if desired. For
|
|
||||||
" instance, airline's statusline uses highlight group __accent_Search if using
|
|
||||||
" Search, and want to keep this updated if possible.
|
|
||||||
|
|
||||||
if !exists('g:highlight_linkage')
|
|
||||||
let g:highlight_linkage = ['Search']
|
|
||||||
else
|
|
||||||
call add(g:highlight_linkage, 'Search')
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
" MAPPINGS: {{{1
|
" MAPPINGS: {{{1
|
||||||
" ==============================================================================
|
" ==============================================================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue