mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
vim-patch:8.2.4724: current instance of last search pattern not easily spotted
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes vim/vim#10133)
a43993897a
Some code is superseded by later patches that are already ported.
Co-authored-by: LemonBoy <thatlemon@gmail.com>
This commit is contained in:
@@ -4322,9 +4322,3 @@ bool search_was_last_used(void)
|
||||
{
|
||||
return last_idx == 0;
|
||||
}
|
||||
|
||||
/// @return true if 'hlsearch' highlight is currently in use.
|
||||
bool using_hlsearch(void)
|
||||
{
|
||||
return spats[last_idx].pat != NULL && p_hls && !no_hlsearch;
|
||||
}
|
||||
|
Reference in New Issue
Block a user