0
0
mirror of https://github.com/vim/vim.git synced 2025-11-14 23:04:02 -05:00

runtime(vim): Update base syntax, improve :@ highlighting

- Highlight :@ as a normal Ex command rather than something special.
- Fix erroneous matching of the Ex command as a register variable.

closes: #18624

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-10-26 13:50:05 +00:00
committed by Christian Brabandt
parent 00e8452191
commit 842c7788a5
13 changed files with 179 additions and 17 deletions

View File

@@ -0,0 +1,66 @@
" Vim :@ command
@0
@1
@2
@3
@4
@5
@6
@7
@8
@9
@a
@k
@z
@"
@.
@=
@*
@+
@:
" repeats
@
@@
@a | echo "..."
@a " comment
def Vim9Context()
:@0
:@1
:@2
:@3
:@4
:@5
:@6
:@7
:@8
:@9
:@a
:@k
:@z
:@"
:@.
:@=
:@*
:@+
:@:
# repeats
:@
:@@
:@a | echo "..."
:@a # comment
enddef