diff options
author | LemonBoy <thatlemon@gmail.com> | 2022-04-09 21:04:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-09 21:04:08 +0100 |
commit | a43993897aa372159f682df37562f159994dc85c (patch) | |
tree | f5336f7c06025b8c072e794dcf72b2a4d83cd8a7 /runtime | |
parent | 2bf52dd065495cbf28e28792f2c2d50d44546d9f (diff) |
patch 8.2.4724: current instance of last search pattern not easily spottedv8.2.4724
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes #10133)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 1 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 443175a856..ddd5af08ed 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4165,6 +4165,7 @@ A jump table for the options with a short description can be found at |Q_op|. |hl-ErrorMsg| e error messages h (obsolete, ignored) |hl-IncSearch| i 'incsearch' highlighting + |hl-CurSearch| y current instance of last search pattern |hl-Search| l last search pattern highlighting (see 'hlsearch') |hl-MoreMsg| m |more-prompt| |hl-ModeMsg| M Mode (e.g., "-- INSERT --") diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 826a0b47aa..dfb0fb7758 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5318,6 +5318,8 @@ QuickFixLine Current |quickfix| item in the quickfix window. *hl-Search* Search Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out. + *hl-CurSearch* +CurSearch Current match for the last search pattern (see 'hlsearch'). *hl-SpecialKey* SpecialKey Meta and special keys listed with ":map", also for text used to show unprintable characters in the text, 'listchars'. |