0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(vim): Update base-syntax, improve :map highlighting

Match :map ( RHS properly.

Only match ! after :map, :noremap, :unmap and :mapclear.

closes: #15297

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2024-07-18 20:45:19 +02:00
committed by Christian Brabandt
parent 1165f7850b
commit 99984fc58a
126 changed files with 786 additions and 561 deletions

View File

@@ -313,7 +313,6 @@ vim9script
:lwindow
:make
:mapclear
# requires trailing whitespace to distinguish from map()
:map
:mark
:marks
@@ -902,8 +901,7 @@ Foo() | lwindow
Foo() | make
Foo() | mark
Foo() | move
# requires trailing whitespace to distinguish from map()
Foo() | map
Foo() | map
Foo() | mapclear
Foo() | marks
Foo() | match