runtime(vim): Update base syntax, improve :match highlighting

- Match the range prefix separately as a count.
- Match an explicit count of 1, rarely used but seen in the wild.
- Allow whitespace between the count and command.

closes: #17717

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-07-13 09:05:23 +02:00
committed by Christian Brabandt
parent 2ab4f907a2
commit ce1d1969f3
145 changed files with 950 additions and 898 deletions

View File

@ -1,11 +1,9 @@
|:+0&#ffffff0|s+0#af5f00255&|t|s|e|l|e|c|t| +0#0000000&@65
|:|s+0#af5f00255&|u|n|h|i|d|e| +0#0000000&@66
|:|s+0#af5f00255&|u|n|m|a|p| +0#0000000&@67
|:+0&#ffffff0|s+0#af5f00255&|u|n|m|a|p| +0#0000000&@67
|:|s+0#af5f00255&|u|n|m|e|n|u| +0#0000000&@66
|:|s+0#af5f00255&|u|s|p|e|n|d| +0#0000000&@66
>:|s+0#af5f00255&|v|i|e|w| +0#0000000&@68
|:|s+0#af5f00255&|v|i|e|w| +0#0000000&@68
|:|s+0#af5f00255&|w|a|p|n|a|m|e| +0#0000000&@65
|:|s+0#af5f00255&|y|n|t|a|x| +0#0000000&@67
>:|s+0#af5f00255&|y|n|t|a|x| +0#0000000&@67
|:|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&@66
|:|s+0#af5f00255&|y|n|c|b|i|n|d| +0#0000000&@65
|:|t+0#af5f00255&| +0#0000000&@72
@ -17,4 +15,6 @@
|:|t+0#af5f00255&|a|b|f|i|n|d| +0#0000000&@66
|:|t+0#af5f00255&|a|b|f|i|r|s|t| +0#0000000&@65
|:|t+0#af5f00255&|a|b|l|a|s|t| +0#0000000&@66
|:|t+0#af5f00255&|a|b|m|o|v|e| +0#0000000&@66
|:|t+0#af5f00255&|a|b|n|e|w| +0#0000000&@67
@57|4|8|7|,|1| @8|4|0|%|