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