From fcb051098a058f5dc7a338bbd52f0f230de1e95e Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Wed, 24 Jun 2015 14:00:42 -0400 Subject: [PATCH] runtime/syntax/vim.vim: Update Added: TermOpen autocmd Added: terminal mode (un)map commands Options and commands not available in neovim ('cp' and variants, termcap options, :shell, :fixdel) are highlighted as errors. Previously deleted entries were restored. Co-authored-by: Felipe Morales --- runtime/syntax/vim.vim | 73 +++++++++++++++++++++++++++--------------- 1 file changed, 47 insertions(+), 26 deletions(-) diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index b200d43f73..5cf1bfc3b2 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -24,49 +24,60 @@ syn keyword vimCommand contained abo[veleft] arge[dit] au bl[ast] br bro[wse] bu syn keyword vimCommand contained al[l] argg[lobal] bad[d] bm[odified] brea[k] bu bw[ipeout] caddf[ile] cd cgete[xpr] checkt[ime] cn cNf comc[lear] co[py] cscope debug d[elete] delf[unction] diffg[et] diffu[pdate] dl ds[earch] echoe[rr] em[enu] en[dif] exu[sage] fin fo[ld] fu grepa[dd] helpf[ind] i imapc[lear] j[oin] kee[pmarks] lad[dexpr] later lcscope lgetb[uffer] l[ist] lN lNf lo[adview] lp[revious] ma[rk] messages mkvie[w] ne noh[lsearch] o[pen] ped[it] pp[op] profd[el] ptf[irst] ptN[ext] py python3 re red[o] ret[ab] ru ru[ntime] sav[eas] sbn[ext] scrip se[t] sfir[st] sil[ent] sm[agic] sN[ext] so spe[llgood] sp[lit] star stj[ump] sunme sy t tabe[dit] tabN tabp[revious] tc[l] th[row] tn tp[revious] tu u[ndo] unlo[ckvar] verb[ose] vim[grep] vne[w] win wn[ext] w[rite] xa[ll] xnoreme y[ank] syn keyword vimCommand contained ar argl[ocal] ba[ll] bn[ext] breaka[dd] buf c cal[l] ce[nter] cg[etfile] cl cN cnf[ile] comp[iler] cpf[ile] cstag debugg[reedy] deletel dell diffo[ff] dig dli[st] dsp[lit] echom[sg] en endt[ry] f fina[lly] foldc[lose] fun gui helpg[rep] ia in ju[mps] keepp[atterns] laddf[ile] lb[uffer] le[ft] lgete[xpr] ll lne lnf[ile] loc[kmarks] lr[ewind] lv[imgrep] marks mk mkv[imrc] new nu[mber] opt[ions] pe[rl] pr prof[ile] ptj[ump] ptp[revious] py3 q syn match vimCommand contained "\