annotate runtime/syntax/lftp.vim @ 16249:67e43b01497f v8.1.1129

patch 8.1.1129: when making a new screendump test have to create the file commit https://github.com/vim/vim/commit/2d7260d66575052124b76c8b97b957319111bfef Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 6 20:51:52 2019 +0200 patch 8.1.1129: when making a new screendump test have to create the file Problem: When making a new screendump test have to create the file. Solution: Continue creating the failed screendump, so it can be moved once it is correct.
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Apr 2019 21:00:05 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1620
diff changeset
2 " Language: lftp(1) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1620
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1620
diff changeset
4 " Latest Revision: 2007-06-17
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
12
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 839
diff changeset
13 setlocal iskeyword+=-
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
15 syn region lftpComment display oneline start='#' end='$'
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
16 \ contains=lftpTodo,@Spell
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
18 syn keyword lftpTodo contained TODO FIXME XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
19
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
20 syn region lftpString contained display
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
21 \ start=+"+ skip=+\\$\|\\"+ end=+"+ end=+$+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
23 syn match lftpNumber contained display '\<\d\+\(\.\d\+\)\=\>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
25 syn keyword lftpBoolean contained yes no on off true false
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
26
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
27 syn keyword lftpInterval contained infinity inf never forever
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
28 syn match lftpInterval contained '\<\(\d\+\(\.\d\+\)\=[dhms]\)\+\>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30 syn keyword lftpKeywords alias anon at bookmark cache cat cd chmod close
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 \ cls command debug du echo exit fg find get
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 \ get1 glob help history jobs kill lcd lftp
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
33 \ lpwd ls mget mirror mkdir module more mput
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 \ mrm mv nlist open pget put pwd queue quote
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 \ reget recls rels renlist repeat reput rm
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
36 \ rmdir scache site source suspend user version
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 \ wait zcat zmore
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 syn region lftpSet matchgroup=lftpKeywords
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 \ start="set" end=";" end="$"
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 \ contains=lftpString,lftpNumber,lftpBoolean,
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
42 \ lftpInterval,lftpSettingsPrefix,lftpSettings
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 syn match lftpSettingsPrefix contained '\<\%(bmk\|cache\|cmd\|color\|dns\):'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 syn match lftpSettingsPrefix contained '\<\%(file\|fish\|ftp\|hftp\):'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
45 syn match lftpSettingsPrefix contained '\<\%(http\|https\|mirror\|module\):'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
46 syn match lftpSettingsPrefix contained '\<\%(net\|sftp\|ssl\|xfer\):'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 " bmk:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
48 syn keyword lftpSettings contained save-p[asswords]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " cache:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
50 syn keyword lftpSettings contained cache-em[pty-listings] en[able]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
51 \ exp[ire] siz[e]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 " cmd:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
53 syn keyword lftpSettings contained at[-exit] cls-c[ompletion-default]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
54 \ cls-d[efault] cs[h-history]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
55 \ default-p[rotocol] default-t[itle]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
56 syn keyword lftpSettings contained fai[l-exit] in[teractive]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
57 \ lo[ng-running] ls[-default] mo[ve-background]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
58 \ prom[pt]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
59 \ rem[ote-completion]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
60 \ save-c[wd-history] save-r[l-history]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
61 \ set-t[erm-status] statu[s-interval]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
62 \ te[rm-status] verb[ose] verify-h[ost]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
63 \ verify-path verify-path[-cached]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " color:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
65 syn keyword lftpSettings contained dir[-colors] use-c[olor]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " dns:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
67 syn keyword lftpSettings contained S[RV-query] cache-en[able]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
68 \ cache-ex[pire] cache-s[ize]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
69 \ fat[al-timeout] o[rder] use-fo[rk]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 " file:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
71 syn keyword lftpSettings contained ch[arset]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " fish:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
73 syn keyword lftpSettings contained connect[-program] sh[ell]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 " ftp:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
75 syn keyword lftpSettings contained acct anon-p[ass] anon-u[ser]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
76 \ au[to-sync-mode] b[ind-data-socket]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
77 \ ch[arset] cli[ent] dev[ice-prefix]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
78 \ fi[x-pasv-address] fxp-f[orce]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
79 \ fxp-p[assive-source] h[ome] la[ng]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
80 \ list-e[mpty-ok] list-o[ptions]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
81 \ nop[-interval] pas[sive-mode]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
82 \ port-i[pv4] port-r[ange] prox[y]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
83 \ rest-l[ist] rest-s[tor]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
84 \ retry-530 retry-530[-anonymous]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
85 \ sit[e-group] skey-a[llow]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
86 \ skey-f[orce] ssl-allow
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
87 \ ssl-allow[-anonymous] ssl-au[th]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
88 \ ssl-f[orce] ssl-protect-d[ata]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
89 \ ssl-protect-l[ist] stat-[interval]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
90 \ sy[nc-mode] timez[one] use-a[bor]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
91 \ use-fe[at] use-fx[p] use-hf[tp]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
92 \ use-mdtm use-mdtm[-overloaded]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
93 \ use-ml[sd] use-p[ret] use-q[uit]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
94 \ use-site-c[hmod] use-site-i[dle]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
95 \ use-site-u[time] use-siz[e]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
96 \ use-st[at] use-te[lnet-iac]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
97 \ verify-a[ddress] verify-p[ort]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
98 \ w[eb-mode]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 " hftp:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
100 syn keyword lftpSettings contained w[eb-mode] cache prox[y]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
101 \ use-au[thorization] use-he[ad] use-ty[pe]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " http:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
103 syn keyword lftpSettings contained accept accept-c[harset]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
104 \ accept-l[anguage] cache coo[kie]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
105 \ pos[t-content-type] prox[y]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
106 \ put-c[ontent-type] put-m[ethod] ref[erer]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
107 \ set-c[ookies] user[-agent]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 " https:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
109 syn keyword lftpSettings contained prox[y]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " mirror:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
111 syn keyword lftpSettings contained exc[lude-regex] o[rder]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
112 \ parallel-d[irectories]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
113 \ parallel-t[ransfer-count] use-p[get-n]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " module:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
115 syn keyword lftpSettings contained pat[h]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 " net:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
117 syn keyword lftpSettings contained connection-l[imit]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
118 \ connection-t[akeover] id[le] limit-m[ax]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
119 \ limit-r[ate] limit-total-m[ax]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
120 \ limit-total-r[ate] max-ret[ries] no-[proxy]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
121 \ pe[rsist-retries] reconnect-interval-b[ase]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
122 \ reconnect-interval-ma[x]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
123 \ reconnect-interval-mu[ltiplier]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
124 \ socket-bind-ipv4 socket-bind-ipv6
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
125 \ socket-bu[ffer] socket-m[axseg] timeo[ut]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 " sftp:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
127 syn keyword lftpSettings contained connect[-program]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
128 \ max-p[ackets-in-flight] prot[ocol-version]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
129 \ ser[ver-program] size-r[ead] size-w[rite]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " ssl:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
131 syn keyword lftpSettings contained ca-f[ile] ca-p[ath] ce[rt-file]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
132 \ crl-f[ile] crl-p[ath] k[ey-file]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
133 \ verify-c[ertificate]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " xfer:
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
135 syn keyword lftpSettings contained clo[bber] dis[k-full-fatal]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
136 \ eta-p[eriod] eta-t[erse] mak[e-backup]
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
137 \ max-red[irections] ra[te-period]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
139 hi def link lftpComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
140 hi def link lftpTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
141 hi def link lftpString String
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
142 hi def link lftpNumber Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
143 hi def link lftpBoolean Boolean
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
144 hi def link lftpInterval Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
145 hi def link lftpKeywords Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
146 hi def link lftpSettingsPrefix PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
147 hi def link lftpSettings Type
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 let b:current_syntax = "lftp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
151 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
152 unlet s:cpo_save