aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-19 07:32:53 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-19 08:02:02 +0800
commit14aba679670a6485596c60fa5eb1df92ecae8a1b (patch)
tree5ab2fbbf939d38ee2d6b75e1ff0263d60f129e5d /runtime/doc/syntax.txt
parenta2d510e1015d57f28ab20c5d2897527cae15b9c4 (diff)
downloadrneovim-14aba679670a6485596c60fa5eb1df92ecae8a1b.tar.gz
rneovim-14aba679670a6485596c60fa5eb1df92ecae8a1b.tar.bz2
rneovim-14aba679670a6485596c60fa5eb1df92ecae8a1b.zip
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) https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c Some code is superseded by later patches that are already ported. Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index e73d5d442f..afc230e112 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4969,8 +4969,9 @@ ColorColumn Used for the columns set with 'colorcolumn'.
Conceal Placeholder characters substituted for concealed
text (see 'conceallevel').
*hl-CurSearch*
-CurSearch Used for highlighting a search pattern under the cursor
- (see 'hlsearch').
+CurSearch Current match for the last search pattern (see 'hlsearch').
+ Note: This is correct after a search, but may get outdated if
+ changes are made or the screen is redrawn.
*hl-Cursor* *hl-lCursor*
Cursor Character under the cursor.
lCursor Character under the cursor when |language-mapping|