runtime(vim): Update base syntax, match :wincmd

Match the full :wincmd command syntax.

Allow for oneline assignment to Vim9 variables named winc[md].

Fixes #18368.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-09-23 18:24:53 +00:00
committed by Christian Brabandt
parent 8b9e687ea1
commit b1446dfd23
10 changed files with 180 additions and 8 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
" Vim syntax file generator
" Language: Vim script
" Maintainer: Hirohito Higashi (h_east)
" Last Change: 2025 Aug 27
" Last Change: 2025 Sep 23
let s:keepcpo= &cpo
set cpo&vim
@@ -412,6 +412,7 @@ function s:get_vim_command_type(cmd_name)
vimgrep
vimgrepadd
while
wincmd
EOL
" Required for original behavior
" \ 'global', 'vglobal'