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,13 +1,9 @@
|.+0#af5f00255#ffffff0| +0#0000000&@73
|:+0#af5f00255&|c|h|a|n|g|e| +0#0000000&@67
|:+0#af5f00255#ffffff0|i|n|s|e|r|t| +0#0000000&@67
| +0#e000002&@3|t|e|x|t| +0#0000000&@66
|.+0#af5f00255&| +0#0000000&@73
|:+0#af5f00255&|i|n|s|e|r|t| +0#0000000&@67
| +0#e000002&@3>t|e|x|t| +0#0000000&@66
|.+0#af5f00255&| +0#0000000&@73
|:|k+0#af5f00255&| +0#0000000&@72
|:|l+0#af5f00255&|e|t| +0#0000000&@70
|:|m+0#af5f00255&|o|d|e| +0#0000000&@69
>:|m+0#af5f00255&|o|d|e| +0#0000000&@69
|:|o+0#af5f00255&|p|e|n| +0#0000000&@69
|:|t+0#af5f00255&| +0#0000000&@72
|:|u+0#af5f00255&|n|l|e|t| +0#0000000&@68
@ -17,4 +13,8 @@
@4|t|e|x|t| @66
|.+0#af5f00255&| +0#0000000&@73
|F|o@1|(+0#e000e06&|)| +0#0000000&||| |c+0#af5f00255&|h|a|n|g|e| +0#0000000&@60
@57|1@1|8|9|,|5| @7|9|8|%|
@4|t|e|x|t| @66
|.+0#af5f00255&| +0#0000000&@73
|F|o@1|(+0#e000e06&|)| +0#0000000&||| |i|n|s|e|r|t| @60
@4|t|e|x|t| @66
@57|1@1|8|9|,|1| @7|9@1|%|