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|l+0#af5f00255&|N|f|i|l|e| +0#0000000&@67
|:|l+0#af5f00255&|i|s|t| +0#0000000&@69
|:|l+0#af5f00255&|a|b|o|v|e| +0#0000000&@67
|:+0&#ffffff0|l+0#af5f00255&|a|b|o|v|e| +0#0000000&@67
|:|l+0#af5f00255&|a|d@1|e|x|p|r| +0#0000000&@65
|:|l+0#af5f00255&|a|d@1|b|u|f@1|e|r| +0#0000000&@63
>:|l+0#af5f00255&|a|d@1|f|i|l|e| +0#0000000&@65
|:|l+0#af5f00255&|a|d@1|f|i|l|e| +0#0000000&@65
|:|l+0#af5f00255&|a|f|t|e|r| +0#0000000&@67
|:|l+0#af5f00255&|a|s|t| +0#0000000&@69
>:|l+0#af5f00255&|a|s|t| +0#0000000&@69
|:|l+0#af5f00255&|a|n|g|u|a|g|e| +0#0000000&@65
|:|l+0#af5f00255&|a|t|e|r| +0#0000000&@68
|:|l+0#af5f00255&|b|e|f|o|r|e| +0#0000000&@66
@ -17,4 +15,6 @@
|:|l+0#af5f00255&|c|l|o|s|e| +0#0000000&@67
|:|l+0#af5f00255&|c|s|c|o|p|e| +0#0000000&@66
|:|l+0#af5f00255&|d|o| +0#0000000&@70
|:|l+0#af5f00255&|f|d|o| +0#0000000&@69
|:|l+0#af5f00255&|e|f|t| +0#0000000&@69
@57|2|5|3|,|1| @8|2|0|%|