mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-08 11:23:46 -05:00
deprecate hls cursor functions
This commit is contained in:
@@ -16,26 +16,4 @@ function! gruvbox#invert_signs_toggle()
|
||||
colorscheme gruvbox
|
||||
endfunction
|
||||
|
||||
" Search Highlighting {{{
|
||||
|
||||
function! gruvbox#hls_show()
|
||||
set hlsearch
|
||||
call GruvboxHlsShowCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_hide()
|
||||
set nohlsearch
|
||||
call GruvboxHlsHideCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_toggle()
|
||||
if &hlsearch
|
||||
call gruvbox#hls_hide()
|
||||
else
|
||||
call gruvbox#hls_show()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
|
||||
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|
||||
|
||||
@@ -1112,17 +1112,11 @@ call s:HL('jsonString', s:fg1)
|
||||
" Search Highlighting Cursor {{{
|
||||
|
||||
function! GruvboxHlsShowCursor()
|
||||
call s:HL('Cursor', s:bg0, s:hls_cursor)
|
||||
call s:HL('vCursor', s:bg0, s:hls_cursor)
|
||||
call s:HL('iCursor', s:bg0, s:hls_cursor)
|
||||
call s:HL('lCursor', s:bg0, s:hls_cursor)
|
||||
echo 'GruvboxHlsShowCursor is deprecated'
|
||||
endfunction
|
||||
|
||||
function! GruvboxHlsHideCursor()
|
||||
call s:HL('Cursor', 'NONE', 'NONE', s:inverse)
|
||||
call s:HL('vCursor', 'NONE', 'NONE', s:inverse)
|
||||
call s:HL('iCursor', 'NONE', 'NONE', s:inverse)
|
||||
call s:HL('lCursor', 'NONE', 'NONE', s:inverse)
|
||||
echo 'GruvboxHlsHideCursor is deprecated'
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
|
||||
Reference in New Issue
Block a user