mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
runtime(vim): Update base-syntax, improve :autocmd highlighting
- Match full :autocmd, :doautocmd and :doautoall commands. - Add filename pattern (wildcard) highlighting. 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
31b78cce6e
commit
fa3b1043c6
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file generator
|
||||
" Language: Vim script
|
||||
" Maintainer: Hirohito Higashi (h_east)
|
||||
" Last Change: 2025 Apr 10
|
||||
" Last Change: 2025 Apr 23
|
||||
|
||||
let s:keepcpo= &cpo
|
||||
set cpo&vim
|
||||
@@ -257,7 +257,6 @@ function s:get_vim_command_type(cmd_name)
|
||||
abstract
|
||||
append
|
||||
augroup
|
||||
augroup
|
||||
autocmd
|
||||
behave
|
||||
call
|
||||
@@ -402,6 +401,10 @@ function s:parse_vim_event(li)
|
||||
call add(a:li, copy(item))
|
||||
endfor
|
||||
|
||||
" "User" requires a user defined argument event.
|
||||
" (Separately specified in vim.vim.base).
|
||||
call filter(a:li, {idx, val -> val.name !=# 'User'})
|
||||
|
||||
quit!
|
||||
|
||||
if empty(a:li)
|
||||
|
Reference in New Issue
Block a user