diff options
Diffstat (limited to 'syntax/vifm.vim')
-rw-r--r-- | syntax/vifm.vim | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/syntax/vifm.vim b/syntax/vifm.vim index 1ae9da14..b0ce0a39 100644 --- a/syntax/vifm.vim +++ b/syntax/vifm.vim @@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1 " vifm syntax file " Maintainer: xaizek <xaizek@posteo.net> -" Last Change: July 4, 2018 +" Last Change: September 22, 2018 " Inspired By: Vim syntax file by Dr. Charles E. Campbell, Jr. if exists('b:current_syntax') @@ -19,11 +19,12 @@ syntax keyword vifmCommand contained alink apropos bmark bmarks bmgo change \ chmod chown clone compare cope[n] co[py] cq[uit] d[elete] delbmarks \ delm[arks] di[splay] dirs e[dit] el[se] empty en[dif] exi[t] file fin[d] \ fini[sh] go[to] gr[ep] h[elp] histnext his[tory] histprev jobs locate ls - \ lstrash marks mes[sages] mkdir m[ove] noh[lsearch] on[ly] popd pushd pu[t] - \ pw[d] qa[ll] q[uit] redr[aw] reg[isters] rename restart restore rlink - \ screen sh[ell] siblnext siblprev sor[t] sp[lit] s[ubstitute] tabc[lose] - \ tabm[ove] tabname tabnew touch tr trashes tree sync undol[ist] ve[rsion] - \ vie[w] vifm vs[plit] winc[md] w[rite] wq wqa[ll] xa[ll] x[it] y[ank] + \ lstrash marks media mes[sages] mkdir m[ove] noh[lsearch] on[ly] popd pushd + \ pu[t] pw[d] qa[ll] q[uit] redr[aw] reg[isters] regular rename restart + \ restore rlink screen sh[ell] siblnext siblprev sor[t] sp[lit] s[ubstitute] + \ tabc[lose] tabm[ove] tabname tabnew touch tr trashes tree sync undol[ist] + \ ve[rsion] vie[w] vifm vs[plit] winc[md] w[rite] wq wqa[ll] xa[ll] x[it] + \ y[ank] \ nextgroup=vifmArgs " commands that might be prepended to a command without changing everything else @@ -128,7 +129,7 @@ syntax keyword vifmOption contained aproposprg autochpos caseoptions cdpath cd \ deleteprg dotdirs dotfiles dirsize fastrun fillchars fcs findprg \ followlinks fusehome gdefault grepprg histcursor history hi hlsearch hls \ iec ignorecase ic iooptions incsearch is laststatus lines locateprg ls - \ lsoptions lsview milleroptions millerview mintimeoutlen number nu + \ lsoptions lsview mediaprg milleroptions millerview mintimeoutlen number nu \ numberwidth nuw previewprg quickview relativenumber rnu rulerformat ruf \ runexec scrollbind scb scrolloff so sort sortgroups sortorder sortnumbers \ shell sh shortmess shm showtabline stal sizefmt slowfs smartcase scs @@ -383,11 +384,12 @@ syntax match vifmEnvVar contained /\$[0-9a-zA-Z_]\+/ syntax match vifmNumber contained /\d\+/ " Optional map arguments right after command name -syntax match vifmMapArgList '\(<silent>\s*\)*' contained nextgroup=vifmMapLhs +syntax match vifmMapArgList '\(<\(silent\|wait\)>\s*\)*' contained + \ nextgroup=vifmMapLhs " Ange-bracket notation syntax case ignore -syntax match vifmNotation '<\(esc\|cr\|space\|del\|nop\|\(s-\)\?tab\|home\|end\|left\|right\|up\|down\|bs\|delete\|insert\|pageup\|pagedown\|\([acms]-\)\?f\d\{1,2\}\|c-s-[a-z[\]^_]\|s-c-[a-z[\]^_]\|c-[a-z[\]^_]\|[am]-c-[a-z]\|c-[am]-[a-z]\|[am]-[a-z]\)>' +syntax match vifmNotation '<\(esc\|cr\|space\|del\|nop\|\(s-\)\?tab\|home\|end\|left\|right\|up\|down\|bs\|delete\|insert\|pageup\|pagedown\|\([acms]-\)\?f\d\{1,2\}\|c-s-[a-z[\]^_]\|s-c-[a-z[\]^_]\|c-[a-z[\]^_@]\|[am]-c-[a-z]\|c-[am]-[a-z]\|[am]-[a-z]\)>' syntax case match " Whole line comment |