| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | " Language:         screen(1) configuration file | 
					
						
							| 
									
										
										
										
											2006-04-21 22:12:41 +00:00
										 |  |  | " Maintainer:       Nikolai Weibull <now@bitwi.se> | 
					
						
							|  |  |  | " Latest Revision:  2006-04-19 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | if exists("b:current_syntax") | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |   finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | let s:cpo_save = &cpo | 
					
						
							|  |  |  | set cpo&vim | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn match   screenEscape    '\\.' | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn keyword screenTodo      contained TODO FIXME XXX NOTE | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-07-04 22:49:24 +00:00
										 |  |  | syn region  screenComment   display oneline start='#' end='$' | 
					
						
							|  |  |  |                             \ contains=screenTodo,@Spell | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-07-04 22:49:24 +00:00
										 |  |  | syn region  screenString    display oneline start=+"+ skip=+\\"+ end=+"+ | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  |                             \ contains=screenVariable,screenSpecial | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-07-04 22:49:24 +00:00
										 |  |  | syn region  screenLiteral   display oneline start=+'+ skip=+\\'+ end=+'+ | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn match   screenVariable  contained display '$\(\h\w*\|{\h\w*}\)' | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn keyword screenBoolean   on off | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn match   screenNumbers   display '\<\d\+\>' | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn match   screenSpecials  contained | 
					
						
							|  |  |  |                             \ '%\([%aAdDhlmMstuwWyY?:{]\|[0-9]*n\|0?cC\)' | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | syn keyword screenCommands  acladd aclchg acldel aclgrp aclumask activity | 
					
						
							|  |  |  |                             \ addacl allpartial at attrcolor autodetach | 
					
						
							|  |  |  |                             \ bell_msg bind bindkey bufferfile caption chacl | 
					
						
							|  |  |  |                             \ chdir clear colon command compacthist console | 
					
						
							|  |  |  |                             \ copy copy_regcrlf debug detach digraph dinfo | 
					
						
							|  |  |  |                             \ crlf displays dumptermcap echo exec fit focus | 
					
						
							|  |  |  |                             \ height help history info kill lastmsg license | 
					
						
							|  |  |  |                             \ lockscreen markkeys meta msgminwait msgwait | 
					
						
							|  |  |  |                             \ multiuser nethack next nonblock number only | 
					
						
							|  |  |  |                             \ other partial_state password paste pastefont | 
					
						
							|  |  |  |                             \ pow_break pow_detach_msg prev printcmd process | 
					
						
							|  |  |  |                             \ quit readbuf readreg redisplay register | 
					
						
							|  |  |  |                             \ remove removebuf reset resize screen select | 
					
						
							|  |  |  |                             \ sessionname setenv shelltitle silencewait | 
					
						
							|  |  |  |                             \ verbose sleep sorendition split startup_message | 
					
						
							|  |  |  |                             \ stuff su suspend time title umask version wall | 
					
						
							|  |  |  |                             \ width writebuf xoff xon defmode hardstatus | 
					
						
							|  |  |  |                             \ altscreen break breaktype copy_reg defbreaktype | 
					
						
							|  |  |  |                             \ defencoding deflog encoding eval ignorecase | 
					
						
							|  |  |  |                             \ ins_reg maxwin partial pow_detach setsid source | 
					
						
							|  |  |  |                             \ unsetenv windowlist windows defautonuke autonuke | 
					
						
							|  |  |  |                             \ defbce bce defc1 c1 defcharset charset defescape | 
					
						
							|  |  |  |                             \ escape defflow flow defkanji kanji deflogin | 
					
						
							|  |  |  |                             \ login defmonitor monitor defhstatus hstatus | 
					
						
							|  |  |  |                             \ defobuflimit obuflimit defscrollback scrollback | 
					
						
							|  |  |  |                             \ defshell shell defsilence silence defslowpaste | 
					
						
							|  |  |  |                             \ slowpaste defutf8 utf8 defwrap wrap defwritelock | 
					
						
							|  |  |  |                             \ writelock defzombie zombie defgr gr hardcopy | 
					
						
							|  |  |  |                             \ hardcopy_append hardcopydir hardstatus log | 
					
						
							|  |  |  |                             \ logfile login logtstamp mapdefault mapnotnext | 
					
						
							|  |  |  |                             \ maptimeout term termcap terminfo termcapinfo | 
					
						
							|  |  |  |                             \ vbell vbell_msg vbellwait | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | hi def link screenEscape    Special | 
					
						
							|  |  |  | hi def link screenComment   Comment | 
					
						
							|  |  |  | hi def link screenTodo      Todo | 
					
						
							|  |  |  | hi def link screenString    String | 
					
						
							|  |  |  | hi def link screenLiteral   String | 
					
						
							|  |  |  | hi def link screenVariable  Identifier | 
					
						
							|  |  |  | hi def link screenBoolean   Boolean | 
					
						
							|  |  |  | hi def link screenNumbers   Number | 
					
						
							|  |  |  | hi def link screenSpecials  Special | 
					
						
							|  |  |  | hi def link screenCommands  Keyword | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "screen" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-06-29 22:40:58 +00:00
										 |  |  | let &cpo = s:cpo_save | 
					
						
							|  |  |  | unlet s:cpo_save |