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