xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit bf031dfc7acf19ed071714e5d44e043fbc434442

Highlight environment variables in :unlet command
Thanks to filterfalse.
Author: xaizek
Author date (UTC): 2014-04-24 20:16
Committer name: xaizek
Committer date (UTC): 2014-04-24 20:16
Parent(s): cfeab28b50305d5086df6b927b5b14e4e981a36c
Signing key:
Tree: 646b06b3a635dae2da3b056ef723366a38aa5bcb
File Lines added Lines deleted
ChangeLog 2 0
data/vim/syntax/vifm.vim 9 3
File ChangeLog changed (mode: 100644) (index f45d277c1..286f7580b)
93 93
94 94 Skip empty and whitespace only error messages, they are of no use. Skip empty and whitespace only error messages, they are of no use.
95 95
96 Highlight environment variables in :unlet command. Thanks to filterfalse.
97
96 98 Fixed file descriptor leak on finishing background tasks. Thanks to Fixed file descriptor leak on finishing background tasks. Thanks to
97 99 anonymous from linux.org.ru. anonymous from linux.org.ru.
98 100
File data/vim/syntax/vifm.vim changed (mode: 100644) (index 4fe63716c..489049358)
1 1 " vifm syntax file " vifm syntax file
2 2 " Maintainer: xaizek <xaizek@openmailbox.org> " Maintainer: xaizek <xaizek@openmailbox.org>
3 " Last Change: March 19, 2014
3 " Last Change: April 24, 2014
4 4 " Based On: Vim syntax file by Dr. Charles E. Campbell, Jr. " Based On: Vim syntax file by Dr. Charles E. Campbell, Jr.
5 5
6 6 if exists('b:current_syntax') if exists('b:current_syntax')
 
... ... syntax keyword vifmCommand contained alink apropos change chmod chown clone
18 18 \ exi[t] file filter fin[d] fini[sh] gr[ep] h[elp] his[tory] jobs locate ls \ exi[t] file filter fin[d] fini[sh] gr[ep] h[elp] his[tory] jobs locate ls
19 19 \ lstrash marks mes[sages] mkdir m[ove] noh[lsearch] on[ly] popd pushd pwd \ lstrash marks mes[sages] mkdir m[ove] noh[lsearch] on[ly] popd pushd pwd
20 20 \ q[uit] reg[isters] rename restart restore rlink screen sh[ell] sor[t] \ q[uit] reg[isters] rename restart restore rlink screen sh[ell] sor[t]
21 \ sp[lit] s[ubstitute] touch tr trashes sync undol[ist] unl[et] ve[rsion]
22 \ vie[w] vifm vs[plit] windo winrun w[rite] wq x[it] y[ank]
21 \ sp[lit] s[ubstitute] touch tr trashes sync undol[ist] ve[rsion] vie[w]
22 \ vifm vs[plit] windo winrun w[rite] wq x[it] y[ank]
23 23
24 24 " Map commands " Map commands
25 25 syntax keyword vifmMap contained map mm[ap] mn[oremap] mu[nmap] nm[ap] syntax keyword vifmMap contained map mm[ap] mn[oremap] mu[nmap] nm[ap]
 
... ... syntax keyword vifmColoCommand contained colo[rscheme]
35 35 syntax keyword vifmHiCommand contained hi[ghlight] syntax keyword vifmHiCommand contained hi[ghlight]
36 36 syntax keyword vifmInvertCommand contained invert syntax keyword vifmInvertCommand contained invert
37 37 syntax keyword vifmLetCommand contained let syntax keyword vifmLetCommand contained let
38 syntax keyword vifmUnletCommand contained unl[et]
38 39 syntax keyword vifmSetCommand contained se[t] syntax keyword vifmSetCommand contained se[t]
39 40 syntax keyword vifmSoCommand contained so[urce] syntax keyword vifmSoCommand contained so[urce]
40 41 syntax keyword vifmMarkCommand contained ma[rk] syntax keyword vifmMarkCommand contained ma[rk]
 
... ... syntax region vifmLet
217 218 \ start='^\(\s\|:\)*\<let\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$' \ start='^\(\s\|:\)*\<let\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$'
218 219 \ keepend \ keepend
219 220 \ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment \ contains=vifmLetCommand,vifmEnvVar,vifmString,vifmStringInExpr,vifmComment
221 syntax region vifmUnlet
222 \ start='^\(\s\|:\)*\<unl\%[et]\>' skip='\(\n\s*\\\)\|\(\n\s*".*$\)' end='$'
223 \ keepend
224 \ contains=vifmUnletCommand,vifmEnvVar,vifmComment
220 225 syntax region vifmString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+ syntax region vifmString contained start=+="+hs=s+1 skip=+\\\\\|\\"+ end=+"+
221 226 syntax region vifmString contained start=+='+hs=s+1 skip=+\\\\\|\\'+ end=+'+ syntax region vifmString contained start=+='+hs=s+1 skip=+\\\\\|\\'+ end=+'+
222 227 syntax region vifmStringInExpr contained start=+=\@<="+hs=s+1 skip=+\\\\\|\\"+ syntax region vifmStringInExpr contained start=+=\@<="+hs=s+1 skip=+\\\\\|\\"+
 
... ... highlight link vifmFtCommand Statement
256 261 highlight link vifmExprCommand Statement highlight link vifmExprCommand Statement
257 262 highlight link vifmNormalCommand Statement highlight link vifmNormalCommand Statement
258 263 highlight link vifmLetCommand Statement highlight link vifmLetCommand Statement
264 highlight link vifmUnletCommand Statement
259 265 highlight link vifmSetCommand Statement highlight link vifmSetCommand Statement
260 266 highlight link vifmSoCommand Statement highlight link vifmSoCommand Statement
261 267 highlight link vifmBuiltinFunction Function highlight link vifmBuiltinFunction Function
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master