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