1
0
forked from aniani/vim

runtime(vim): Update base-syntax, improve :augroup highlighting (#14125)

- Explicitly match the bang and group name in :aug! {name}.
- Allow any characters in a group name.
- Match default group switch marker, END.
- Match :aug without arguments (list command).

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-03-04 02:42:47 +11:00
committed by GitHub
parent d9ebd46bd0
commit c4aef9a97b
6 changed files with 94 additions and 23 deletions

View File

@@ -2,8 +2,8 @@
" Language: Vim script
" Maintainer: Hirohito Higashi (h_east)
" URL: https://github.com/vim-jp/syntax-vim-ex
" Last Change: Feb 27, 2024
" Version: 2.0.3
" Last Change: Mar 02, 2024
" Version: 2.0.4
let s:keepcpo= &cpo
set cpo&vim
@@ -278,7 +278,7 @@ function! s:get_vim_command_type(cmd_name)
\ 'map', 'mapclear',
\ 'substitute', 'smagic', 'snomagic',
\ 'setlocal', 'setglobal', 'set', 'var',
\ 'autocmd', 'doautocmd', 'doautoall',
\ 'autocmd', 'augroup', 'doautocmd', 'doautoall',
\ 'echohl',
\ 'execute',
\ 'behave', 'augroup', 'normal', 'syntax',