diff runtime/doc/syntax.txt @ 28777:b96ceb97e896

Update runtime files Commit: https://github.com/vim/vim/commit/d899e51120798d3fb5420abb1f19dddf3f014d05 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 7 21:54:03 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 May 2022 23:00:04 +0200
parents 4d76b3e07c07
children cd68a630f0d0
line wrap: on
line diff
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt*	For Vim version 8.2.  Last change: 2022 Apr 24
+*syntax.txt*	For Vim version 8.2.  Last change: 2022 May 06
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -5238,6 +5238,9 @@ These are the default highlighting group
 'highlight' option default.  Note that the highlighting depends on the value
 of 'background'.  You can see the current settings with the ":highlight"
 command.
+When possible the name is highlighted in the used colors.  If this makes it
+unreadable use Visual selection.
+
 							*hl-ColorColumn*
 ColorColumn	used for the columns set with 'colorcolumn'
 							*hl-Conceal*
@@ -5329,6 +5332,8 @@ Search		Last search pattern highlighting
 		Also used for similar items that need to stand out.
 							*hl-CurSearch*
 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-SpecialKey*
 SpecialKey	Meta and special keys listed with ":map", also for text used
 		to show unprintable characters in the text, 'listchars'.