Mercurial > vim
annotate runtime/syntax/screen.vim @ 7491:a924d469a0d7
Added tag v7.4.1047 for changeset 4a81ecde8701fb6019ff324fd3421b3494e041ca
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 04 Jan 2016 12:15:05 +0100 |
parents | c590de398af9 |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
2 " Language: screen(1) configuration file |
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
3 " Maintainer: Dmitri Vereshchagin <dmitri.vereshchagin@gmail.com> |
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> |
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
5 " Latest Revision: 2015-09-24 |
7 | 6 |
375 | 7 if exists("b:current_syntax") |
7 | 8 finish |
9 endif | |
10 | |
375 | 11 let s:cpo_save = &cpo |
12 set cpo&vim | |
7 | 13 |
375 | 14 syn match screenEscape '\\.' |
7 | 15 |
375 | 16 syn keyword screenTodo contained TODO FIXME XXX NOTE |
7 | 17 |
389 | 18 syn region screenComment display oneline start='#' end='$' |
2042 | 19 \ contains=screenTodo,@Spell |
7 | 20 |
389 | 21 syn region screenString display oneline start=+"+ skip=+\\"+ end=+"+ |
2042 | 22 \ contains=screenVariable,screenSpecial |
7 | 23 |
389 | 24 syn region screenLiteral display oneline start=+'+ skip=+\\'+ end=+'+ |
7 | 25 |
2042 | 26 syn match screenVariable contained display '$\%(\h\w*\|{\h\w*}\)' |
375 | 27 |
28 syn keyword screenBoolean on off | |
7 | 29 |
375 | 30 syn match screenNumbers display '\<\d\+\>' |
31 | |
32 syn match screenSpecials contained | |
2042 | 33 \ '%\%([%aAdDhlmMstuwWyY?:{]\|[0-9]*n\|0?cC\)' |
7 | 34 |
2042 | 35 syn keyword screenCommands |
36 \ acladd | |
37 \ aclchg | |
38 \ acldel | |
39 \ aclgrp | |
40 \ aclumask | |
41 \ activity | |
42 \ addacl | |
43 \ allpartial | |
44 \ altscreen | |
45 \ at | |
46 \ attrcolor | |
47 \ autodetach | |
48 \ autonuke | |
49 \ backtick | |
50 \ bce | |
51 \ bd_bc_down | |
52 \ bd_bc_left | |
53 \ bd_bc_right | |
54 \ bd_bc_up | |
55 \ bd_bell | |
56 \ bd_braille_table | |
57 \ bd_eightdot | |
58 \ bd_info | |
59 \ bd_link | |
60 \ bd_lower_left | |
61 \ bd_lower_right | |
62 \ bd_ncrc | |
63 \ bd_port | |
64 \ bd_scroll | |
65 \ bd_skip | |
66 \ bd_start_braille | |
67 \ bd_type | |
68 \ bd_upper_left | |
69 \ bd_upper_right | |
70 \ bd_width | |
71 \ bell | |
72 \ bell_msg | |
73 \ bind | |
74 \ bindkey | |
75 \ blanker | |
76 \ blankerprg | |
77 \ break | |
78 \ breaktype | |
79 \ bufferfile | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
80 \ bumpleft |
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
81 \ bumpright |
2042 | 82 \ c1 |
83 \ caption | |
84 \ chacl | |
85 \ charset | |
86 \ chdir | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
87 \ cjkwidth |
2042 | 88 \ clear |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
89 \ collapse |
2042 | 90 \ colon |
91 \ command | |
92 \ compacthist | |
93 \ console | |
94 \ copy | |
95 \ crlf | |
96 \ debug | |
97 \ defautonuke | |
98 \ defbce | |
99 \ defbreaktype | |
100 \ defc1 | |
101 \ defcharset | |
102 \ defencoding | |
103 \ defescape | |
104 \ defflow | |
105 \ defgr | |
106 \ defhstatus | |
107 \ defkanji | |
108 \ deflog | |
109 \ deflogin | |
110 \ defmode | |
111 \ defmonitor | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
112 \ defmousetrack |
2042 | 113 \ defnonblock |
114 \ defobuflimit | |
115 \ defscrollback | |
116 \ defshell | |
117 \ defsilence | |
118 \ defslowpaste | |
119 \ defutf8 | |
120 \ defwrap | |
121 \ defwritelock | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
122 \ defzombie |
2042 | 123 \ detach |
124 \ digraph | |
125 \ dinfo | |
126 \ displays | |
127 \ dumptermcap | |
128 \ echo | |
129 \ encoding | |
130 \ escape | |
131 \ eval | |
132 \ exec | |
133 \ fit | |
134 \ flow | |
135 \ focus | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
136 \ focusminsize |
2042 | 137 \ gr |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
138 \ group |
2042 | 139 \ hardcopy |
140 \ hardcopy_append | |
141 \ hardcopydir | |
142 \ hardstatus | |
143 \ height | |
144 \ help | |
145 \ history | |
146 \ hstatus | |
147 \ idle | |
148 \ ignorecase | |
149 \ info | |
150 \ kanji | |
151 \ kill | |
152 \ lastmsg | |
153 \ layout | |
154 \ license | |
155 \ lockscreen | |
156 \ log | |
157 \ logfile | |
158 \ login | |
159 \ logtstamp | |
160 \ mapdefault | |
161 \ mapnotnext | |
162 \ maptimeout | |
163 \ markkeys | |
164 \ maxwin | |
165 \ meta | |
166 \ monitor | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
167 \ mousetrack |
2042 | 168 \ msgminwait |
169 \ msgwait | |
170 \ multiuser | |
171 \ nethack | |
172 \ next | |
173 \ nonblock | |
174 \ number | |
175 \ obuflimit | |
176 \ only | |
177 \ other | |
178 \ partial | |
179 \ password | |
180 \ paste | |
181 \ pastefont | |
182 \ pow_break | |
183 \ pow_detach | |
184 \ pow_detach_msg | |
185 \ prev | |
186 \ printcmd | |
187 \ process | |
188 \ quit | |
189 \ readbuf | |
190 \ readreg | |
191 \ redisplay | |
192 \ register | |
193 \ remove | |
194 \ removebuf | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
195 \ rendition |
2042 | 196 \ reset |
197 \ resize | |
198 \ screen | |
199 \ scrollback | |
200 \ select | |
201 \ sessionname | |
202 \ setenv | |
203 \ setsid | |
204 \ shell | |
205 \ shelltitle | |
206 \ silence | |
207 \ silencewait | |
208 \ sleep | |
209 \ slowpaste | |
210 \ sorendition | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
211 \ sort |
2042 | 212 \ source |
213 \ split | |
214 \ startup_message | |
215 \ stuff | |
216 \ su | |
217 \ suspend | |
218 \ term | |
219 \ termcap | |
220 \ termcapinfo | |
221 \ terminfo | |
222 \ time | |
223 \ title | |
224 \ umask | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
225 \ unbindall |
2042 | 226 \ unsetenv |
227 \ utf8 | |
228 \ vbell | |
229 \ vbell_msg | |
230 \ vbellwait | |
231 \ verbose | |
232 \ version | |
233 \ wall | |
234 \ width | |
235 \ windowlist | |
236 \ windows | |
237 \ wrap | |
238 \ writebuf | |
239 \ writelock | |
240 \ xoff | |
241 \ xon | |
242 \ zmodem | |
243 \ zombie | |
7147
c590de398af9
commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
Christian Brabandt <cb@256bit.org>
parents:
2042
diff
changeset
|
244 \ zombie_timeout |
7 | 245 |
375 | 246 hi def link screenEscape Special |
247 hi def link screenComment Comment | |
248 hi def link screenTodo Todo | |
249 hi def link screenString String | |
250 hi def link screenLiteral String | |
251 hi def link screenVariable Identifier | |
252 hi def link screenBoolean Boolean | |
253 hi def link screenNumbers Number | |
254 hi def link screenSpecials Special | |
255 hi def link screenCommands Keyword | |
7 | 256 |
257 let b:current_syntax = "screen" | |
258 | |
375 | 259 let &cpo = s:cpo_save |
260 unlet s:cpo_save |