mirror of
https://github.com/vim/vim.git
synced 2026-04-26 13:35:58 +02: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:
committed by
Christian Brabandt
parent
1165f7850b
commit
99984fc58a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user