runtime(vim): Update syntax, add missing commands to generator exclusion list

Commit: 
https://github.com/vim/vim/commit/7e9ccdd3f21c11b3627adbaab891284bfb946aa7
Author: Doug Kearns <[email protected]>
Date:   Sun Oct 12 15:15:00 2025 +0000

    runtime(vim): Update syntax, add missing commands to generator exclusion 
list
    
    closes: https://github.com/vim/vim/issues/18548
    
    Signed-off-by: Doug Kearns <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/generator/gen_syntax_vim.vim 
b/runtime/syntax/generator/gen_syntax_vim.vim
index 57b89c8b5..579dbbc39 100644
--- a/runtime/syntax/generator/gen_syntax_vim.vim
+++ b/runtime/syntax/generator/gen_syntax_vim.vim
@@ -1,7 +1,7 @@
 " Vim syntax file generator
 " Language:             Vim script
 " Maintainer:  Hirohito Higashi (h_east)
-" Last Change: 2025 Sep 27
+" Last Change: 2025 Oct 11
 
 let s:keepcpo= &cpo
 set cpo&vim
@@ -303,11 +303,15 @@ function s:get_vim_command_type(cmd_name)
                augroup
                autocmd
                behave
+               browse
                call
                catch
                chdir
+               change
                class
                command
+               confirm
+               const
                copy
                debuggreedy
                def
@@ -344,6 +348,7 @@ function s:get_vim_command_type(cmd_name)
                grep
                grepadd
                helpgrep
+               highlight
                if
                import
                interface
@@ -353,6 +358,8 @@ function s:get_vim_command_type(cmd_name)
                let
                loadkeymap
                lhelpgrep
+               lgrep
+               lgrepadd
                lvimgrep
                lvimgrepadd
                make
@@ -363,6 +370,7 @@ function s:get_vim_command_type(cmd_name)
                mapclear
                mark
                match
+               menutranslate
                mzscheme
                mzfile
                noremap
@@ -387,6 +395,9 @@ function s:get_vim_command_type(cmd_name)
                pyxfile
                redir
                return
+               ruby
+               rubydo
+               rubyfile
                set
                setglobal
                setlocal
@@ -409,6 +420,7 @@ function s:get_vim_command_type(cmd_name)
                type
                uniq
                unlet
+               unlockvar
                unmap
                var
                vim9script
diff --git a/runtime/syntax/testdir/dumps/vim9_ex_commands_66.dump 
b/runtime/syntax/testdir/dumps/vim9_ex_commands_66.dump
index d42a1536f..555330152 100644
--- a/runtime/syntax/testdir/dumps/vim9_ex_commands_66.dump
+++ b/runtime/syntax/testdir/dumps/vim9_ex_commands_66.dump
@@ -12,7 +12,7 @@
 |F|o@1|(+0#e000e06&|)| +0#0000000&||| |a|p@1|e|n|d| @60
 @4|t|e|x|t| @66
 |.+0#af5f00255&| +0#0000000&@73
-|F|o@1|(+0#e000e06&|)| +0#0000000&||| |c+0#af5f00255&|h|a|n|g|e| +0#0000000&@60
+|F|o@1|(+0#e000e06&|)| +0#0000000&||| |c|h|a|n|g|e| @60
 @4|t|e|x|t| @66
 |.+0#af5f00255&| +0#0000000&@73
 |F|o@1|(+0#e000e06&|)| +0#0000000&||| |i|n|s|e|r|t| @60
diff --git a/runtime/syntax/testdir/dumps/vim_ex_commands_36.dump 
b/runtime/syntax/testdir/dumps/vim_ex_commands_36.dump
index b805d6e43..031dcb158 100644
--- a/runtime/syntax/testdir/dumps/vim_ex_commands_36.dump
+++ b/runtime/syntax/testdir/dumps/vim_ex_commands_36.dump
@@ -3,7 +3,7 @@
 |c+0#af5f00255&|a|l@1| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&||| 
|b+0#af5f00255&|u|n|l|o|a|d| +0#0000000&@54
 |c+0#af5f00255&|a|l@1| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&||| 
|b+0#af5f00255&|w|i|p|e|o|u|t| +0#0000000&@53
 |"+0#0000e05&| |F+0#0000001#ffff4012|I|X|M|E| +0#0000000#ffffff0@67
->c+0#af5f00255&|a|l@1| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&||| 
|c+0#af5f00255&|h|a|n|g|e| +0#0000000&@55
+>c+0#af5f00255&|a|l@1| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&||| 
|c|h|a|n|g|e| @55
 @4|t|e|x|t| @66
 |.+0#af5f00255&| +0#0000000&@73
 |c+0#00e0e07&|a|l@1| +0#0000000&|F|o@1|(+0#e000e06&|)| +0#0000000&||| 
|c+0#af5f00255&|N|e|x|t| +0#0000000&@56
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 05d8454f0..89940ab30 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -2,7 +2,7 @@
 " Language:       Vim script
 " Maintainer:     Hirohito Higashi <h.east.727 ATMARK gmail.com>
 "         Doug Kearns <[email protected]>
-" Last Change:    2025 Oct 09
+" Last Change:    2025 Oct 11
 " Former Maintainer: Charles E. Campbell
 
 " DO NOT CHANGE DIRECTLY.
@@ -34,11 +34,11 @@ syn cluster vimCommentGroup contains=vimTodo,@Spell
 
 " regular vim commands {{{2
 " GEN_SYN_VIM: vimCommand normal, START_STR='syn keyword vimCommand 
contained', END_STR='nextgroup=vimBang'
-syn keyword vimCommand contained al[l] ar[gs] arga[dd] argd[elete] argdo 
argded[upe] arge[dit] argg[lobal] argl[ocal] argu[ment] as[cii] b[uffer] 
bN[ext] ba[ll] bad[d] balt bd[elete] bf[irst] bl[ast] bm[odified] bn[ext] 
bp[revious] br[ewind] brea[k] breaka[dd] breakd[el] breakl[ist] bro[wse] 
buffers bufd[o] bun[load] bw[ipeout] c[hange] cN[ext] cNf[ile] cabo[ve] 
cad[dbuffer] cadde[xpr] caddf[ile] caf[ter] cb[uffer] cbe[fore] cbel[ow] 
cbo[ttom] cc ccl[ose] cd cdo ce[nter] cex[pr] cf[ile] cfd[o] cfir[st] 
cg[etfile] cgetb[uffer] cgete[xpr] changes che[ckpath] checkt[ime] chi[story] 
cl[ist] clip[reset] cla[st] clo[se] cle[arjumps] cn[ext] cnew[er] cnf[ile] 
col[der] colo[rscheme] comc[lear] comp[iler] con[tinue] conf[irm] cons[t] 
cope[n] cp[revious] cpf[ile] cq[uit] nextgroup=vimBang
-syn keyword vimCommand contained cr[ewind] cs[cope] cst[ag] cw[indow] 
delm[arks] deb[ug] defc[ompile] di[splay] dif[fupdate] diffg[et] diffo[ff] 
diffp[atch] diffpu[t] diffs[plit] difft[his] dig[raphs] disa[ssemble] dj[ump] 
dli[st] dr[op] ds[earch] dsp[lit] e[dit] ea[rlier] em[enu] endfo[r] endt[ry] 
endw[hile] ene[w] ex exi[t] exu[sage] f[ile] files fin[d] fina[lly] fini[sh] 
fir[st] fix[del] fo[ld] foldc[lose] foldd[oopen] folddoc[losed] foldo[pen] 
g[lobal] go[to] gu[i] gv[im] h[elp] helpc[lose] helpf[ind] helpt[ags] 
ha[rdcopy] hi[ghlight] his[tory] ij[ump] il[ist] int[ro] ip[ut] is[earch] 
isp[lit] ju[mps] l[ist] lN[ext] lNf[ile] la[st] lab[ove] lan[guage] lad[dexpr] 
laddb[uffer] laddf[ile] laf[ter] lat[er] lb[uffer] lbe[fore] lbel[ow] lbo[ttom] 
lc[d] lch[dir] nextgroup=vimBang
-syn keyword vimCommand contained lcl[ose] lcs[cope] ld[o] le[ft] lex[pr] 
lf[ile] lfd[o] lfir[st] lg[etfile] lgetb[uffer] lgete[xpr] lgr[ep] lgrepa[dd] 
lhi[story] ll lla[st] lli[st] lmak[e] lne[xt] lnew[er] lnf[ile] lo[adview] 
lockv[ar] lol[der] lop[en] lp[revious] lpf[ile] lr[ewind] lt[ag] lw[indow] ls 
m[ove] marks menut[ranslate] mes[sages] mk[exrc] mks[ession] mksp[ell] 
mkv[imrc] mkvie[w] mod[e] n[ext] nb[key] nbc[lose] nbs[tart] noh[lsearch] 
nu[mber] o[pen] ol[dfiles] on[ly] opt[ions] ow[nsyntax] p[rint] pa[ckadd] 
packl[oadall] pb[uffer] pc[lose] ped[it] po[p] pp[op] pre[serve] prev[ious] 
pro[mptfind] promptr[epl] ps[earch] pt[ag] ptN[ext] ptf[irst] ptj[ump] ptl[ast] 
ptn[ext] ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] q[uit] quita[ll] qa[ll] 
r[ead] rec[over] nextgroup=vimBang
-syn keyword vimCommand contained red[o] redr[aw] redraws[tatus] 
redrawt[abline] redrawtabp[anel] reg[isters] res[ize] ret[ab] rew[ind] ri[ght] 
ru[ntime] rub[y] rubyd[o] rubyf[ile] rund[o] rv[iminfo] sN[ext] sa[rgument] 
sal[l] sav[eas] sb[uffer] sbN[ext] sba[ll] sbf[irst] sbl[ast] sbm[odified] 
sbn[ext] sbp[revious] sbr[ewind] scr[iptnames] scripte[ncoding] scriptv[ersion] 
scs[cope] setf[iletype] sf[ind] sfir[st] sh[ell] sim[alt] sig[n] sla[st] 
sn[ext] so[urce] spe[llgood] spelld[ump] spelli[nfo] spellr[epall] spellra[re] 
spellu[ndo] spellw[rong] spr[evious] sre[wind] st[op] sta[g] star[tinsert] 
startg[replace] startr[eplace] stopi[nsert] stj[ump] sts[elect] sun[hide] 
sus[pend] sv[iew] sync[bind] smi[le] t tN[ext] ta[g] tags tabc[lose] tabd[o] 
tabe[dit] tabf[ind] nextgroup=vimBang
-syn keyword vimCommand contained tabfir[st] tabm[ove] tabl[ast] tabn[ext] 
tabnew tabo[nly] tabp[revious] tabN[ext] tabr[ewind] tabs tc[d] tch[dir] 
te[aroff] tf[irst] tj[ump] tl[ast] tn[ext] tp[revious] tr[ewind] try ts[elect] 
u[ndo] undoj[oin] undol[ist] unh[ide] unlo[ckvar] up[date] v[global] ve[rsion] 
vi[sual] vie[w] viu[sage] vne[w] vs[plit] w[rite] wN[ext] wa[ll] wi[nsize] 
wind[o] winp[os] wl[restore] wn[ext] wp[revious] wq wqa[ll] wu[ndo] wv[iminfo] 
x[it] xa[ll] xr[estore] y[ank] z dl dell delel deletl deletel dp dep delp delep 
deletp deletep a i nextgroup=vimBang
+syn keyword vimCommand contained al[l] ar[gs] arga[dd] argd[elete] argdo 
argded[upe] arge[dit] argg[lobal] argl[ocal] argu[ment] as[cii] b[uffer] 
bN[ext] ba[ll] bad[d] balt bd[elete] bf[irst] bl[ast] bm[odified] bn[ext] 
bp[revious] br[ewind] brea[k] breaka[dd] breakd[el] breakl[ist] buffers bufd[o] 
bun[load] bw[ipeout] cN[ext] cNf[ile] cabo[ve] cad[dbuffer] cadde[xpr] 
caddf[ile] caf[ter] cb[uffer] cbe[fore] cbel[ow] cbo[ttom] cc ccl[ose] cd cdo 
ce[nter] cex[pr] cf[ile] cfd[o] cfir[st] cg[etfile] cgetb[uffer] cgete[xpr] 
changes che[ckpath] checkt[ime] chi[story] cl[ist] clip[reset] cla[st] clo[se] 
cle[arjumps] cn[ext] cnew[er] cnf[ile] col[der] colo[rscheme] comc[lear] 
comp[iler] con[tinue] cope[n] cp[revious] cpf[ile] cq[uit] cr[ewind] cs[cope] 
cst[ag] cw[indow] nextgroup=vimBang
+syn keyword vimCommand contained delm[arks] deb[ug] defc[ompile] di[splay] 
dif[fupdate] diffg[et] diffo[ff] diffp[atch] diffpu[t] diffs[plit] difft[his] 
dig[raphs] disa[ssemble] dj[ump] dli[st] dr[op] ds[earch] dsp[lit] e[dit] 
ea[rlier] em[enu] endfo[r] endt[ry] endw[hile] ene[w] ex exi[t] exu[sage] 
f[ile] files fin[d] fina[lly] fini[sh] fir[st] fix[del] fo[ld] foldc[lose] 
foldd[oopen] folddoc[losed] foldo[pen] g[lobal] go[to] gu[i] gv[im] h[elp] 
helpc[lose] helpf[ind] helpt[ags] ha[rdcopy] his[tory] ij[ump] il[ist] int[ro] 
ip[ut] is[earch] isp[lit] ju[mps] l[ist] lN[ext] lNf[ile] la[st] lab[ove] 
lan[guage] lad[dexpr] laddb[uffer] laddf[ile] laf[ter] lat[er] lb[uffer] 
lbe[fore] lbel[ow] lbo[ttom] lc[d] lch[dir] lcl[ose] lcs[cope] ld[o] le[ft] 
lex[pr] lf[ile] lfd[o] nextgroup=vimBang
+syn keyword vimCommand contained lfir[st] lg[etfile] lgetb[uffer] lgete[xpr] 
lhi[story] ll lla[st] lli[st] lmak[e] lne[xt] lnew[er] lnf[ile] lo[adview] 
lockv[ar] lol[der] lop[en] lp[revious] lpf[ile] lr[ewind] lt[ag] lw[indow] ls 
m[ove] marks mes[sages] mk[exrc] mks[ession] mksp[ell] mkv[imrc] mkvie[w] 
mod[e] n[ext] nb[key] nbc[lose] nbs[tart] noh[lsearch] nu[mber] o[pen] 
ol[dfiles] on[ly] opt[ions] ow[nsyntax] p[rint] pa[ckadd] packl[oadall] 
pb[uffer] pc[lose] ped[it] po[p] pp[op] pre[serve] prev[ious] pro[mptfind] 
promptr[epl] ps[earch] pt[ag] ptN[ext] ptf[irst] ptj[ump] ptl[ast] ptn[ext] 
ptp[revious] ptr[ewind] pts[elect] pu[t] pw[d] q[uit] quita[ll] qa[ll] r[ead] 
rec[over] red[o] redr[aw] redraws[tatus] redrawt[abline] redrawtabp[anel] 
reg[isters] res[ize] nextgroup=vimBang
+syn keyword vimCommand contained ret[ab] rew[ind] ri[ght] ru[ntime] rund[o] 
rv[iminfo] sN[ext] sa[rgument] sal[l] sav[eas] sb[uffer] sbN[ext] sba[ll] 
sbf[irst] sbl[ast] sbm[odified] sbn[ext] sbp[revious] sbr[ewind] scr[iptnames] 
scripte[ncoding] scriptv[ersion] scs[cope] setf[iletype] sf[ind] sfir[st] 
sh[ell] sim[alt] sig[n] sla[st] sn[ext] so[urce] spe[llgood] spelld[ump] 
spelli[nfo] spellr[epall] spellra[re] spellu[ndo] spellw[rong] spr[evious] 
sre[wind] st[op] sta[g] star[tinsert] startg[replace] startr[eplace] 
stopi[nsert] stj[ump] sts[elect] sun[hide] sus[pend] sv[iew] sync[bind] smi[le] 
t tN[ext] ta[g] tags tabc[lose] tabd[o] tabe[dit] tabf[ind] tabfir[st] 
tabm[ove] tabl[ast] tabn[ext] tabnew tabo[nly] tabp[revious] tabN[ext] 
tabr[ewind] tabs tc[d] tch[dir] nextgroup=vimBang
+syn keyword vimCommand contained te[aroff] tf[irst] tj[ump] tl[ast] tn[ext] 
tp[revious] tr[ewind] try ts[elect] u[ndo] undoj[oin] undol[ist] unh[ide] 
up[date] v[global] ve[rsion] vi[sual] vie[w] viu[sage] vne[w] vs[plit] w[rite] 
wN[ext] wa[ll] wi[nsize] wind[o] winp[os] wl[restore] wn[ext] wp[revious] wq 
wqa[ll] wu[ndo] wv[iminfo] x[it] xa[ll] xr[estore] y[ank] z dl dell delel 
deletl deletel dp dep delp delep deletp deletep a i nextgroup=vimBang
 
 " Lower priority :syn-match to allow for :command/function() distinction
 syn match vimCommand "\<chd\%[ir]\>"    nextgroup=vimBang

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1v7y1Q-00AMui-DC%40256bit.org.

Raspunde prin e-mail lui