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

@@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi (h_east)
" URL: https://github.com/vim-jp/syntax-vim-ex
" Last Change: 2024 Apr 07
" Last Change: 2024 Jul 18
" Version: 2.1.1
let s:keepcpo= &cpo
@@ -285,6 +285,7 @@ function! s:get_vim_command_type(cmd_name)
augroup
autocmd
behave
call
catch
def
doautoall
@@ -307,6 +308,7 @@ function! s:get_vim_command_type(cmd_name)
map
mapclear
match
noremap
new
normal
popup
@@ -320,6 +322,7 @@ function! s:get_vim_command_type(cmd_name)
syntax
throw
unlet
unmap
var
vim9script
EOL