annotate runtime/syntax/screen.vim @ 1072:25154b22dc96 v7.0.198

updated for version 7.0-198
author vimboss
date Tue, 20 Feb 2007 02:16:18 +0000
parents 1f3b1021f002
children f3c987fb99b9
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
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
2 " Language: screen(1) configuration file
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
4 " Latest Revision: 2006-04-19
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
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13 syn match screenEscape '\\.'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
15 syn keyword screenTodo contained TODO FIXME XXX NOTE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
17 syn region screenComment display oneline start='#' end='$'
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
18 \ contains=screenTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
20 syn region screenString display oneline start=+"+ skip=+\\"+ end=+"+
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
21 \ contains=screenVariable,screenSpecial
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
23 syn region screenLiteral display oneline start=+'+ skip=+\\'+ end=+'+
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 match screenVariable contained display '$\(\h\w*\|{\h\w*}\)'
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 screenBoolean on off
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
29 syn match screenNumbers display '\<\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 syn match screenSpecials contained
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 \ '%\([%aAdDhlmMstuwWyY?:{]\|[0-9]*n\|0?cC\)'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 syn keyword screenCommands acladd aclchg acldel aclgrp aclumask activity
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 \ addacl allpartial at attrcolor autodetach
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
36 \ bell_msg bind bindkey bufferfile caption chacl
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 \ chdir clear colon command compacthist console
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
38 \ copy copy_regcrlf debug detach digraph dinfo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 \ crlf displays dumptermcap echo exec fit focus
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 \ height help history info kill lastmsg license
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 \ lockscreen markkeys meta msgminwait msgwait
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
42 \ multiuser nethack next nonblock number only
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 \ other partial_state password paste pastefont
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 \ pow_break pow_detach_msg prev printcmd process
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
45 \ quit readbuf readreg redisplay register
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
46 \ remove removebuf reset resize screen select
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
47 \ sessionname setenv shelltitle silencewait
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
48 \ verbose sleep sorendition split startup_message
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
49 \ stuff su suspend time title umask version wall
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
50 \ width writebuf xoff xon defmode hardstatus
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
51 \ altscreen break breaktype copy_reg defbreaktype
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
52 \ defencoding deflog encoding eval ignorecase
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
53 \ ins_reg maxwin partial pow_detach setsid source
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
54 \ unsetenv windowlist windows defautonuke autonuke
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
55 \ defbce bce defc1 c1 defcharset charset defescape
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
56 \ escape defflow flow defkanji kanji deflogin
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
57 \ login defmonitor monitor defhstatus hstatus
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
58 \ defobuflimit obuflimit defscrollback scrollback
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
59 \ defshell shell defsilence silence defslowpaste
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
60 \ slowpaste defutf8 utf8 defwrap wrap defwritelock
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
61 \ writelock defzombie zombie defgr gr hardcopy
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
62 \ hardcopy_append hardcopydir hardstatus log
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
63 \ logfile login logtstamp mapdefault mapnotnext
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
64 \ maptimeout term termcap terminfo termcapinfo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
65 \ vbell vbell_msg vbellwait
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
67 hi def link screenEscape Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
68 hi def link screenComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
69 hi def link screenTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
70 hi def link screenString String
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
71 hi def link screenLiteral String
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
72 hi def link screenVariable Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
73 hi def link screenBoolean Boolean
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
74 hi def link screenNumbers Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
75 hi def link screenSpecials Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
76 hi def link screenCommands Keyword
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 let b:current_syntax = "screen"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
80 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
81 unlet s:cpo_save