[7.2.442] Copy/paste with OpenOffice doesn't work.
[vim_mainline.git] / runtime / syntax / screen.vim
blobe1ff4ecea5c0b1ae88c78f63d99c1bc43a415d4a
1 " Vim syntax file
2 " Language:         screen(1) configuration file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2006-04-19
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  acladd aclchg acldel aclgrp aclumask activity
35                             \ addacl allpartial at attrcolor autodetach
36                             \ bell_msg bind bindkey bufferfile caption chacl
37                             \ chdir clear colon command compacthist console
38                             \ copy copy_regcrlf debug detach digraph dinfo
39                             \ crlf displays dumptermcap echo exec fit focus
40                             \ height help history info kill lastmsg license
41                             \ lockscreen markkeys meta msgminwait msgwait
42                             \ multiuser nethack next nonblock number only
43                             \ other partial_state password paste pastefont
44                             \ pow_break pow_detach_msg prev printcmd process
45                             \ quit readbuf readreg redisplay register
46                             \ remove removebuf reset resize screen select
47                             \ sessionname setenv shelltitle silencewait
48                             \ verbose sleep sorendition split startup_message
49                             \ stuff su suspend time title umask version wall
50                             \ width writebuf xoff xon defmode hardstatus
51                             \ altscreen break breaktype copy_reg defbreaktype
52                             \ defencoding deflog encoding eval ignorecase
53                             \ ins_reg maxwin partial pow_detach setsid source
54                             \ unsetenv windowlist windows defautonuke autonuke
55                             \ defbce bce defc1 c1 defcharset charset defescape
56                             \ escape defflow flow defkanji kanji deflogin
57                             \ login defmonitor monitor defhstatus hstatus
58                             \ defobuflimit obuflimit defscrollback scrollback
59                             \ defshell shell defsilence silence defslowpaste
60                             \ slowpaste defutf8 utf8 defwrap wrap defwritelock
61                             \ writelock defzombie zombie defgr gr hardcopy
62                             \ hardcopy_append hardcopydir hardstatus log
63                             \ logfile login logtstamp mapdefault mapnotnext
64                             \ maptimeout term termcap terminfo termcapinfo
65                             \ vbell vbell_msg vbellwait
67 hi def link screenEscape    Special
68 hi def link screenComment   Comment
69 hi def link screenTodo      Todo
70 hi def link screenString    String
71 hi def link screenLiteral   String
72 hi def link screenVariable  Identifier
73 hi def link screenBoolean   Boolean
74 hi def link screenNumbers   Number
75 hi def link screenSpecials  Special
76 hi def link screenCommands  Keyword
78 let b:current_syntax = "screen"
80 let &cpo = s:cpo_save
81 unlet s:cpo_save