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|a+0#af5f00255&|r|g|l|o|c|a|l| +0#0000000&@65
|:|a+0#af5f00255&|r|g|s| +0#0000000&@69
|:|a+0#af5f00255&|r|g|u|m|e|n|t| +0#0000000&@65
|:+0&#ffffff0|a+0#af5f00255&|r|g|u|m|e|n|t| +0#0000000&@65
|:|a+0#af5f00255&|s|c|i@1| +0#0000000&@68
|:|a+0#af5f00255&|u|g|r|o|u|p| +0#0000000&|F|o@1| @62
>:|a+0#af5f00255&|u|g|r|o|u|p| +0#0000000&|E|N|D| @62
|:|a+0#af5f00255&|u|g|r|o|u|p| +0#0000000&|E|N|D| @62
|:|a+0#af5f00255&|u|n|m|e|n|u| +0#0000000&@66
|:|a+0#af5f00255&|u|t|o|c|m|d| +0#0000000&@66
>:|a+0#af5f00255&|u|t|o|c|m|d| +0#0000000&@66
|:|b+0#af5f00255&|a|d@1| +0#0000000&@69
|:|b+0#af5f00255&|a|l@1| +0#0000000&@69
|:|b+0#af5f00255&|a|l|t| +0#0000000&@69
@ -17,4 +15,6 @@
|:|b+0#af5f00255&|l|a|s|t| +0#0000000&@68
|:|b+0#af5f00255&|m|o|d|i|f|i|e|d| +0#0000000&@64
|:|b+0#af5f00255&|n|e|x|t| +0#0000000&@68
|:|b+0#af5f00255&|N|e|x|t| +0#0000000&@68
|:|b+0#af5f00255&|o|t|r|i|g|h|t| +0#0000000&@65
@57|3|7|,|1| @10|2|%|