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|t+0#af5f00255&|y|p|e| +0#0000000&@69
|:|u+0#af5f00255&|n|a|b@1|r|e|v|i|a|t|e| +0#0000000&@61
|:|u+0#af5f00255&|n|a|b@1|r|e|v|i|a|t|e| +0#0000000&@61
|:+0&#ffffff0|u+0#af5f00255&|n|a|b@1|r|e|v|i|a|t|e| +0#0000000&@61
|:|u+0#af5f00255&|n|d|o| +0#0000000&@69
|:|u+0#af5f00255&|n|d|o|j|o|i|n| +0#0000000&@65
>:|u+0#af5f00255&|n|d|o|l|i|s|t| +0#0000000&@65
|:|u+0#af5f00255&|n|d|o|l|i|s|t| +0#0000000&@65
|:|u+0#af5f00255&|n|h|i|d|e| +0#0000000&@67
|:|u+0#af5f00255&|n|i|q| +0#0000000&@69
>:|u+0#af5f00255&|n|i|q| +0#0000000&@69
|:|u+0#af5f00255&|n|l|o|c|k|v|a|r| +0#0000000&@64
|:|u+0#af5f00255&|n|m|a|p| +0#0000000&@68
|:|u+0#af5f00255&|n|m|e|n|u| +0#0000000&@67
@ -17,4 +15,6 @@
|:|v+0#af5f00255&|e|r|t|i|c|a|l| +0#0000000&@65
|:|v+0#af5f00255&|g|l|o|b|a|l|/|.+0#0000000&@2|/+0#af5f00255&| +0#0000000&@61
|:|v+0#af5f00255&|i|e|w| +0#0000000&@69
|:|v+0#af5f00255&|i|m|9|c|m|d| +0#0000000&@66
|#+0#0000e05&| |:|v|i|m|9|s|c|r|i|p|t| +0#0000000&@61
@57|5|4|1|,|1| @8|4@1|%|