8 lines
128 B
VimL
8 lines
128 B
VimL
|
function! ToggleHighlights()
|
||
|
if &hlsearch == 1
|
||
|
set nohlsearch
|
||
|
else
|
||
|
set hlsearch
|
||
|
endif
|
||
|
endfunction
|