| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							| 
									
										
										
										
											2006-03-27 17:01:56 +00:00
										 |  |  | " Language:     Subversion (svn) commit file | 
					
						
							| 
									
										
										
										
											2012-02-13 00:05:22 +01:00
										 |  |  | " Maintainer:   Dmitry Vasiliev <dima at hlabs dot org> | 
					
						
							|  |  |  | " URL:          https://github.com/hdima/vim-scripts/blob/master/syntax/svn.vim | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | " Last Change:  2013-11-08 | 
					
						
							| 
									
										
										
										
											2006-03-27 17:01:56 +00:00
										 |  |  | " Filenames:    svn-commit*.tmp | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | " Version:      1.10 | 
					
						
							| 
									
										
										
										
											2006-03-27 17:01:56 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Contributors: | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | " | 
					
						
							|  |  |  | " List of the contributors in alphabetical order: | 
					
						
							|  |  |  | " | 
					
						
							| 
									
										
										
										
											2008-08-06 17:06:04 +00:00
										 |  |  | "   A. S. Budden | 
					
						
							| 
									
										
										
										
											2012-07-25 17:49:10 +02:00
										 |  |  | "   Ingo Karkat | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | "   Myk Taylor | 
					
						
							|  |  |  | "   Stefano Zacchiroli | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-30 23:26:57 +02:00
										 |  |  | " quit when a syntax file was already loaded. | 
					
						
							|  |  |  | if exists("b:current_syntax") | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |   finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | syn spell toplevel | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn match svnFirstLine  "\%^.*" nextgroup=svnRegion,svnBlank skipnl | 
					
						
							|  |  |  | syn match svnSummary    "^.\{0,50\}" contained containedin=svnFirstLine nextgroup=svnOverflow contains=@Spell | 
					
						
							|  |  |  | syn match svnOverflow   ".*" contained contains=@Spell | 
					
						
							|  |  |  | syn match svnBlank      "^.*" contained contains=@Spell | 
					
						
							| 
									
										
										
										
											2012-07-25 17:49:10 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | syn region svnRegion    end="\%$" matchgroup=svnDelimiter start="^--.*--$" contains=svnRemoved,svnRenamed,svnAdded,svnModified,svnProperty,@NoSpell | 
					
						
							|  |  |  | syn match svnRemoved    "^D    .*$" contained contains=@NoSpell | 
					
						
							|  |  |  | syn match svnRenamed    "^R[ M][ U][ +] .*$" contained contains=@NoSpell | 
					
						
							|  |  |  | syn match svnAdded      "^A[ M][ U][ +] .*$" contained contains=@NoSpell | 
					
						
							|  |  |  | syn match svnModified   "^M[ M][ U]  .*$" contained contains=@NoSpell | 
					
						
							|  |  |  | syn match svnProperty   "^_M[ U]  .*$" contained contains=@NoSpell | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Synchronization. | 
					
						
							|  |  |  | syn sync clear | 
					
						
							| 
									
										
										
										
											2006-03-27 17:01:56 +00:00
										 |  |  | syn sync match svnSync  grouphere svnRegion "^--.*--$"me=s-1 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Define the default highlighting. | 
					
						
							| 
									
										
										
										
											2016-08-30 23:26:57 +02:00
										 |  |  | " Only when an item doesn't have highlighting yet. | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-31 22:22:10 +02:00
										 |  |  | hi def link svnSummary     Keyword | 
					
						
							|  |  |  | hi def link svnBlank       Error | 
					
						
							| 
									
										
										
										
											2013-11-09 03:41:58 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-31 22:22:10 +02:00
										 |  |  | hi def link svnRegion      Comment | 
					
						
							|  |  |  | hi def link svnDelimiter   NonText | 
					
						
							|  |  |  | hi def link svnRemoved     Constant | 
					
						
							|  |  |  | hi def link svnAdded       Identifier | 
					
						
							|  |  |  | hi def link svnModified    Special | 
					
						
							|  |  |  | hi def link svnProperty    Special | 
					
						
							|  |  |  | hi def link svnRenamed     Special | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "svn" |