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

@ -14,8 +14,6 @@ vim9script
: help
: help # FIXME
:2match
:3match
:abbreviate
:abclear
:aboveleft
@ -598,8 +596,6 @@ Foo() | help
Foo() |help
Foo()| help
Foo() | 2match
Foo() | 3match
Foo() | abbreviate
Foo() | abclear
Foo() | aboveleft