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