]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc,vim): Update base syntax, match full :syntime command
authorDoug Kearns <dougkearns@gmail.com>
Thu, 9 Oct 2025 19:39:57 +0000 (19:39 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 9 Oct 2025 19:39:57 +0000 (19:39 +0000)
- Use the optional tail command-name spec at :help :syntime.
- Match full :syntime command and highlight args.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/syntax.txt
runtime/doc/tags
runtime/syntax/generator/gen_syntax_vim.vim
runtime/syntax/generator/vim.vim.base
runtime/syntax/testdir/dumps/vim_ex_syntime_00.dump [new file with mode: 0644]
runtime/syntax/testdir/dumps/vim_ex_syntime_01.dump [new file with mode: 0644]
runtime/syntax/testdir/dumps/vim_ex_syntime_02.dump [new file with mode: 0644]
runtime/syntax/testdir/input/vim_ex_syntime.vim [new file with mode: 0644]
runtime/syntax/vim.vim

index db332fcd995d5de7f464439a4def0c7a26440cb9..1dd486bb35caf39c6ad83aebceb74c5fa55550c5 100644 (file)
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 9.1.  Last change: 2025 Oct 08
+*syntax.txt*   For Vim version 9.1.  Last change: 2025 Oct 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -6501,7 +6501,7 @@ that Setup / Font / Enable Bold is NOT enabled.
 
 
 ==============================================================================
-20. When syntax is slow                                                *:syntime*
+20. When syntax is slow                                        *:synti* *:syntime*
 
 This is aimed at authors of a syntax file.
 
@@ -6521,15 +6521,15 @@ this sequence: >
 This will display a list of syntax patterns that were used, sorted by the time
 it took to match them against the text.
 
-:syntime on            Start measuring syntax times.  This will add some
+:synti[me] on          Start measuring syntax times.  This will add some
                        overhead to compute the time spent on syntax pattern
                        matching.
 
-:syntime off           Stop measuring syntax times.
+:synti[me] off         Stop measuring syntax times.
 
-:syntime clear         Set all the counters to zero, restart measuring.
+:synti[me] clear       Set all the counters to zero, restart measuring.
 
-:syntime report                Show the syntax items used since ":syntime on" in the
+:synti[me] report      Show the syntax items used since ":syntime on" in the
                        current window.  Use a wider display to see more of
                        the output.
 
index 4f4a24d77ed47158df3c58224178d58f301cbdf9..28d21de7077d99f49b13e43ae054754033eaa9c6 100644 (file)
@@ -3524,6 +3524,7 @@ $quote    eval.txt        /*$quote*
 :syntax-off    syntax.txt      /*:syntax-off*
 :syntax-on     syntax.txt      /*:syntax-on*
 :syntax-reset  syntax.txt      /*:syntax-reset*
+:synti syntax.txt      /*:synti*
 :syntime       syntax.txt      /*:syntime*
 :t     change.txt      /*:t*
 :tN    tagsrch.txt     /*:tN*
index 9ecab6e7eada5743d1d15cc53d446f29ca511996..57b89c8b5c64bc8c3bf33b9659e9b62bcca7480b 100644 (file)
@@ -399,6 +399,7 @@ function s:get_vim_command_type(cmd_name)
                substitute
                swapname
                syntax
+               syntime
                tcl
                tcldo
                tclfile
index 1f86d81c2c758414698fc8b3b5e17aa7b7d39290..722766eb461ae4a57f20c0ec646cfae9fb8d0ad5 100644 (file)
@@ -2,7 +2,7 @@
 " Language:       Vim script
 " Maintainer:     Hirohito Higashi <h.east.727 ATMARK gmail.com>
 "         Doug Kearns <dougkearns@gmail.com>
-" Last Change:    2025 Oct 08
+" Last Change:    2025 Oct 09
 " Former Maintainer: Charles E. Campbell
 
 " DO NOT CHANGE DIRECTLY.
@@ -246,7 +246,7 @@ syn match   vimNumber       '\<0z\%(\x\x\)\+\%(\.\%(\x\x\)\+\)*'    skipwhite nextgroup=@vi
 syn case match
 
 " All vimCommands are contained by vimIsCommand. {{{2
-syn cluster vimCmdList contains=vimAbb,vimAddress,vimAutocmd,vimAugroup,vimBehave,vimCall,vimCatch,vimCommandModifier,vimConst,vimDoautocmd,vimDebuggreedy,vimDef,vimDefFold,vimDefer,vimDelcommand,vimDelFunction,@vimEcho,vimElse,vimEnddef,vimEndfunction,vimEndif,vimEval,vimExecute,vimIsCommand,vimExtCmd,vimExFilter,vimExMark,vimFiletype,vimFor,vimFunction,vimFunctionFold,vimGrep,vimGrepAdd,vimGlobal,vimHelpgrep,vimHighlight,vimImport,vimLet,vimLoadkeymap,vimLockvar,vimMake,vimMap,vimMark,vimMatch,vimNotFunc,vimNormal,vimProfdel,vimProfile,vimRedir,vimSet,vimSleep,vimSort,vimSyntax,vimSynColor,vimSynLink,vimTerminal,vimThrow,vimUniq,vimUnlet,vimUnlockvar,vimUnmap,vimUserCmd,vimVimgrep,vimVimgrepadd,vimWincmd,vimMenu,vimMenutranslate,@vim9CmdList,@vimExUserCmdList,vimLua,vimMzScheme,vimPerl,vimPython,vimPython3,vimPythonX,vimRuby,vimTcl
+syn cluster vimCmdList contains=vimAbb,vimAddress,vimAutocmd,vimAugroup,vimBehave,vimCall,vimCatch,vimCommandModifier,vimConst,vimDoautocmd,vimDebuggreedy,vimDef,vimDefFold,vimDefer,vimDelcommand,vimDelFunction,@vimEcho,vimElse,vimEnddef,vimEndfunction,vimEndif,vimEval,vimExecute,vimIsCommand,vimExtCmd,vimExFilter,vimExMark,vimFiletype,vimFor,vimFunction,vimFunctionFold,vimGrep,vimGrepAdd,vimGlobal,vimHelpgrep,vimHighlight,vimImport,vimLet,vimLoadkeymap,vimLockvar,vimMake,vimMap,vimMark,vimMatch,vimNotFunc,vimNormal,vimProfdel,vimProfile,vimRedir,vimSet,vimSleep,vimSort,vimSyntax,vimSyntime,vimSynColor,vimSynLink,vimTerminal,vimThrow,vimUniq,vimUnlet,vimUnlockvar,vimUnmap,vimUserCmd,vimVimgrep,vimVimgrepadd,vimWincmd,vimMenu,vimMenutranslate,@vim9CmdList,@vimExUserCmdList,vimLua,vimMzScheme,vimPerl,vimPython,vimPython3,vimPythonX,vimRuby,vimTcl
 syn cluster vim9CmdList        contains=vim9Abstract,vim9Class,vim9Const,vim9Enum,vim9Export,vim9Final,vim9For,vim9Interface,vim9Type,vim9Var
 syn match vimCmdSep    "\\\@1<!|"      skipwhite nextgroup=@vimCmdList,vimSubst1,@vimFunc
 syn match vimCmdSep    ":\+"   skipwhite nextgroup=@vimCmdList,vimSubst1
@@ -1791,6 +1791,10 @@ syn match        vimSyncKey      contained       "\<groupthere\>"        skipwhite       nextgroup=vimSyncGroup
 syn match      vimSyncGroup    contained       "\<\h\w*\>"     skipwhite       nextgroup=vimSynRegPat,vimSyncNone
 syn keyword    vimSyncNone     contained       NONE
 
+" Syntime: {{{2
+" =======
+syn keyword    vimSyntimeArg   contained       on off clear report     skipwhite nextgroup=vimComment,vim9Comment,vimCmdSep
+syn keyword    vimSyntime              synti[me]               skipwhite nextgroup=vimSyntimeArg
 " Additional IsCommand: here by reasons of precedence {{{2
 " ====================
 syn match      vimIsCommand    "<Bar>\s*\a\+"  transparent contains=vimCommand,vimNotation
@@ -2560,6 +2564,8 @@ if !exists("skip_vim_syntax_inits")
  hi def link vimSynSpell       Type
  hi def link vimSyntax vimCommand
  hi def link vimSynType        vimSpecial
+ hi def link vimSyntime        vimCommand
+ hi def link vimSyntimeArg     vimSpecial
  hi def link vimTcl    vimCommand
  hi def link vimTerminal       vimCommand
  hi def link vimTerminalContinue       vimContinue
diff --git a/runtime/syntax/testdir/dumps/vim_ex_syntime_00.dump b/runtime/syntax/testdir/dumps/vim_ex_syntime_00.dump
new file mode 100644 (file)
index 0000000..cb14564
--- /dev/null
@@ -0,0 +1,20 @@
+>"+0#0000e05#ffffff0| |V|i|m| |:|s|y|n|t|i|m|e| |c|o|m@1|a|n|d| +0#0000000&@52
+@75
+@75
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@64
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@63
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@61
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&@60
+@75
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&||| |r+0#af5f00255&|e|d|r|a|w|!| +0#0000000&||| |s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&@37
+@75
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@4||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@4|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+@75
+@57|1|,|1| @10|T|o|p| 
diff --git a/runtime/syntax/testdir/dumps/vim_ex_syntime_01.dump b/runtime/syntax/testdir/dumps/vim_ex_syntime_01.dump
new file mode 100644 (file)
index 0000000..732b2e7
--- /dev/null
@@ -0,0 +1,20 @@
+|s+0#af5f00255#ffffff0|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@47
+|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@50
+> @74
+@75
+|d+0#af5f00255&|e|f| +0#0000000&|V|i|m|9|C|o|n|t|e|x|t|(+0#e000e06&|)| +0#0000000&@57
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@62
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@61
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@59
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&@58
+@75
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&||| |r+0#af5f00255&|e|d|r|a|w|!| +0#0000000&||| |s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&@35
+@75
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@4||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@45
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|n| +0#0000000&@4|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@48
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@45
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@48
+@57|1|9|,|0|-|1| @7|6|8|%| 
diff --git a/runtime/syntax/testdir/dumps/vim_ex_syntime_02.dump b/runtime/syntax/testdir/dumps/vim_ex_syntime_02.dump
new file mode 100644 (file)
index 0000000..3badec4
--- /dev/null
@@ -0,0 +1,20 @@
+| +0&#ffffff0@1|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|o+0#00e0003&|f@1| +0#0000000&@3|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@48
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@45
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|c+0#00e0003&|l|e|a|r| +0#0000000&@1|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@48
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|.@2|"| +0#0000000&@45
+@2|s+0#af5f00255&|y|n|t|i|m|e| +0#0000000&|r+0#00e0003&|e|p|o|r|t| +0#0000000&|#+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@48
+>e+0#af5f00255&|n|d@1|e|f| +0#0000000&@68
+@75
+|~+0#4040ff13&| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+|~| @73
+| +0#0000000&@56|3|7|,|1| @9|B|o|t| 
diff --git a/runtime/syntax/testdir/input/vim_ex_syntime.vim b/runtime/syntax/testdir/input/vim_ex_syntime.vim
new file mode 100644 (file)
index 0000000..b085480
--- /dev/null
@@ -0,0 +1,38 @@
+" Vim :syntime command
+
+
+syntime on
+syntime off
+syntime clear
+syntime report
+
+syntime on | redraw! | syntime report
+
+syntime on     | echo "..."
+syntime on     " comment
+syntime off    | echo "..."
+syntime off    " comment
+syntime clear  | echo "..."
+syntime clear  " comment
+syntime report | echo "..."
+syntime report " comment
+
+
+def Vim9Context()
+  syntime on
+  syntime off
+  syntime clear
+  syntime report
+
+  syntime on | redraw! | syntime report
+
+  syntime on     | echo "..."
+  syntime on     # comment
+  syntime off    | echo "..."
+  syntime off    # comment
+  syntime clear  | echo "..."
+  syntime clear  # comment
+  syntime report | echo "..."
+  syntime report # comment
+enddef
+
index bbfbc6397af20ecd46cf24548303d542a899b386..05d8454f074facfa60efa0f6fd0bf9216dd70dbf 100644 (file)
@@ -2,7 +2,7 @@
 " Language:       Vim script
 " Maintainer:     Hirohito Higashi <h.east.727 ATMARK gmail.com>
 "         Doug Kearns <dougkearns@gmail.com>
-" Last Change:    2025 Oct 08
+" Last Change:    2025 Oct 09
 " Former Maintainer: Charles E. Campbell
 
 " DO NOT CHANGE DIRECTLY.
@@ -37,8 +37,8 @@ syn cluster vimCommentGroup   contains=vimTodo,@Spell
 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] synti[me] sync[bind] smi[le] t tN[ext] ta[g] tags tabc[lose] tabd[o] tabe[dit] nextgroup=vimBang
-syn keyword vimCommand contained tabf[ind] 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 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
 
 " Lower priority :syn-match to allow for :command/function() distinction
 syn match vimCommand "\<chd\%[ir]\>"    nextgroup=vimBang
@@ -300,7 +300,7 @@ syn match   vimNumber       '\<0z\%(\x\x\)\+\%(\.\%(\x\x\)\+\)*'    skipwhite nextgroup=@vi
 syn case match
 
 " All vimCommands are contained by vimIsCommand. {{{2
-syn cluster vimCmdList contains=vimAbb,vimAddress,vimAutocmd,vimAugroup,vimBehave,vimCall,vimCatch,vimCommandModifier,vimConst,vimDoautocmd,vimDebuggreedy,vimDef,vimDefFold,vimDefer,vimDelcommand,vimDelFunction,@vimEcho,vimElse,vimEnddef,vimEndfunction,vimEndif,vimEval,vimExecute,vimIsCommand,vimExtCmd,vimExFilter,vimExMark,vimFiletype,vimFor,vimFunction,vimFunctionFold,vimGrep,vimGrepAdd,vimGlobal,vimHelpgrep,vimHighlight,vimImport,vimLet,vimLoadkeymap,vimLockvar,vimMake,vimMap,vimMark,vimMatch,vimNotFunc,vimNormal,vimProfdel,vimProfile,vimRedir,vimSet,vimSleep,vimSort,vimSyntax,vimSynColor,vimSynLink,vimTerminal,vimThrow,vimUniq,vimUnlet,vimUnlockvar,vimUnmap,vimUserCmd,vimVimgrep,vimVimgrepadd,vimWincmd,vimMenu,vimMenutranslate,@vim9CmdList,@vimExUserCmdList,vimLua,vimMzScheme,vimPerl,vimPython,vimPython3,vimPythonX,vimRuby,vimTcl
+syn cluster vimCmdList contains=vimAbb,vimAddress,vimAutocmd,vimAugroup,vimBehave,vimCall,vimCatch,vimCommandModifier,vimConst,vimDoautocmd,vimDebuggreedy,vimDef,vimDefFold,vimDefer,vimDelcommand,vimDelFunction,@vimEcho,vimElse,vimEnddef,vimEndfunction,vimEndif,vimEval,vimExecute,vimIsCommand,vimExtCmd,vimExFilter,vimExMark,vimFiletype,vimFor,vimFunction,vimFunctionFold,vimGrep,vimGrepAdd,vimGlobal,vimHelpgrep,vimHighlight,vimImport,vimLet,vimLoadkeymap,vimLockvar,vimMake,vimMap,vimMark,vimMatch,vimNotFunc,vimNormal,vimProfdel,vimProfile,vimRedir,vimSet,vimSleep,vimSort,vimSyntax,vimSyntime,vimSynColor,vimSynLink,vimTerminal,vimThrow,vimUniq,vimUnlet,vimUnlockvar,vimUnmap,vimUserCmd,vimVimgrep,vimVimgrepadd,vimWincmd,vimMenu,vimMenutranslate,@vim9CmdList,@vimExUserCmdList,vimLua,vimMzScheme,vimPerl,vimPython,vimPython3,vimPythonX,vimRuby,vimTcl
 syn cluster vim9CmdList        contains=vim9Abstract,vim9Class,vim9Const,vim9Enum,vim9Export,vim9Final,vim9For,vim9Interface,vim9Type,vim9Var
 syn match vimCmdSep    "\\\@1<!|"      skipwhite nextgroup=@vimCmdList,vimSubst1,@vimFunc
 syn match vimCmdSep    ":\+"   skipwhite nextgroup=@vimCmdList,vimSubst1
@@ -1853,6 +1853,10 @@ syn match        vimSyncKey      contained       "\<groupthere\>"        skipwhite       nextgroup=vimSyncGroup
 syn match      vimSyncGroup    contained       "\<\h\w*\>"     skipwhite       nextgroup=vimSynRegPat,vimSyncNone
 syn keyword    vimSyncNone     contained       NONE
 
+" Syntime: {{{2
+" =======
+syn keyword    vimSyntimeArg   contained       on off clear report     skipwhite nextgroup=vimComment,vim9Comment,vimCmdSep
+syn keyword    vimSyntime              synti[me]               skipwhite nextgroup=vimSyntimeArg
 " Additional IsCommand: here by reasons of precedence {{{2
 " ====================
 syn match      vimIsCommand    "<Bar>\s*\a\+"  transparent contains=vimCommand,vimNotation
@@ -2622,6 +2626,8 @@ if !exists("skip_vim_syntax_inits")
  hi def link vimSynSpell       Type
  hi def link vimSyntax vimCommand
  hi def link vimSynType        vimSpecial
+ hi def link vimSyntime        vimCommand
+ hi def link vimSyntimeArg     vimSpecial
  hi def link vimTcl    vimCommand
  hi def link vimTerminal       vimCommand
  hi def link vimTerminalContinue       vimContinue