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