| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | " Language   : Netrw Remote-Directory Listing Syntax | 
					
						
							|  |  |  | " Maintainer : Charles E. Campbell, Jr. | 
					
						
							| 
									
										
										
										
											2005-09-10 19:22:57 +00:00
										 |  |  | " Last change: Aug 29, 2005 | 
					
						
							|  |  |  | " Version    : 7 | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | " --------------------------------------------------------------------- | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Syntax Clearing: {{{1 | 
					
						
							|  |  |  | if version < 600 | 
					
						
							|  |  |  |  syntax clear | 
					
						
							|  |  |  | elseif exists("b:current_syntax") | 
					
						
							|  |  |  |  finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | " --------------------------------------------------------------------- | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | " Directory List Syntax Highlighting: {{{1 | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | syn cluster NetrwGroup contains=netrwHide,netrwSortBy,netrwSortSeq,netrwQuickHelp,netrwVersion | 
					
						
							| 
									
										
										
										
											2005-09-10 19:22:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | syn match  netrwSpecial		"\%(\S\+ \)*\S\+[*|=]\ze\%(\s\{2,}\|$\)" contains=netrwClassify | 
					
						
							|  |  |  | syn match  netrwDir		"\.\{1,2}/"			contains=netrwClassify | 
					
						
							|  |  |  | syn match  netrwDir		"\%(\S\+ \)*\S\+/"		contains=netrwClassify | 
					
						
							|  |  |  | syn match  netrwDir		"^\S*/"				contains=netrwClassify | 
					
						
							|  |  |  | syn match  netrwSymLink		"\%(\S\+ \)*\S\+@\ze\%(\s\{2,}\|$\)"  contains=netrwClassify | 
					
						
							|  |  |  | syn match  netrwExe		"\%(\S\+ \)*\S\+\*\ze\%(\s\{2,}\|$\)" contains=netrwClassify | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn match  netrwClassify	"[*=|@/]\ze\%(\s\{2,}\|$\)"	contained | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn match  netrwComment		'".*\%(\t\|$\)'			contains=@NetrwGroup | 
					
						
							|  |  |  | syn match  netrwHide		'^"\s*\(Hid\|Show\)ing:'	skipwhite nextgroup=netrwHidePat | 
					
						
							|  |  |  | syn match  netrwSlash		"/"				contained | 
					
						
							|  |  |  | syn match  netrwHidePat		"[^,]\+"			contained skipwhite nextgroup=netrwHideSep | 
					
						
							|  |  |  | syn match  netrwHideSep		","				contained transparent skipwhite nextgroup=netrwHidePat | 
					
						
							|  |  |  | syn match  netrwSortBy		"Sorted by"			contained transparent skipwhite nextgroup=netrwList | 
					
						
							|  |  |  | syn match  netrwSortSeq		"Sort sequence:"		contained transparent skipwhite nextgroup=netrwList | 
					
						
							|  |  |  | syn match  netrwList		".*$"				contained contains=netrwComma | 
					
						
							|  |  |  | syn match  netrwComma		","				contained | 
					
						
							|  |  |  | syn region netrwQuickHelp	matchgroup=Comment start="Quick Help:\s\+" end="$" contains=netrwHelpCmd keepend contained | 
					
						
							|  |  |  | syn match  netrwHelpCmd		"\S\ze:"			contained skipwhite nextgroup=netrwCmdSep | 
					
						
							|  |  |  | syn match  netrwCmdSep		":"				contained nextgroup=netrwCmdNote | 
					
						
							|  |  |  | syn match  netrwCmdNote		".\{-}\ze  "			contained | 
					
						
							|  |  |  | syn match  netrwVersion		"(netrw.*)"			contained | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | " --------------------------------------------------------------------- | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | " Highlighting Links: {{{1 | 
					
						
							|  |  |  | if !exists("did_drchip_dbg_syntax") | 
					
						
							|  |  |  |  let did_drchip_netrwlist_syntax= 1 | 
					
						
							| 
									
										
										
										
											2004-06-30 16:16:41 +00:00
										 |  |  |  hi link netrwClassify	Function | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  |  hi link netrwCmdSep	Delimiter | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  |  hi link netrwComment	Comment | 
					
						
							|  |  |  |  hi link netrwDir	Directory | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  |  hi link netrwHelpCmd	Function | 
					
						
							|  |  |  |  hi link netrwHidePat	Statement | 
					
						
							|  |  |  |  hi link netrwList	Statement | 
					
						
							|  |  |  |  hi link netrwVersion	Identifier | 
					
						
							| 
									
										
										
										
											2004-06-30 16:16:41 +00:00
										 |  |  |  hi link netrwSymLink	Special | 
					
						
							| 
									
										
										
										
											2005-09-10 19:22:57 +00:00
										 |  |  |  hi link netrwExe	PreProc | 
					
						
							| 
									
										
										
										
											2004-07-02 15:38:35 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |  hi link netrwComma	netrwComment | 
					
						
							|  |  |  |  hi link netrwHide	netrwComment | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Current Syntax: {{{1 | 
					
						
							|  |  |  | let   b:current_syntax = "netrwlist" | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | " --------------------------------------------------------------------- | 
					
						
							| 
									
										
										
										
											2004-06-20 12:51:53 +00:00
										 |  |  | " vim: ts=8 fdm=marker |