add vim syntax file for diffs
This commit is contained in:
		
							parent
							
								
									6682b5ed37
								
							
						
					
					
						commit
						6beaeec8e7
					
				
							
								
								
									
										8
									
								
								vim/wergediff.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								vim/wergediff.vim
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | 
 | ||||||
|  | syntax region wergeDiffChange start=/<<<<</ end=/>>>>>/ contains=wergeDiffRm,wergeDiffAdd | ||||||
|  | syntax region wergeDiffRm  start=/<<<<</hs=e+1  end=/|||||/he=b-1,me=b-1 contained | ||||||
|  | syntax region wergeDiffAdd start=/|||||/hs=e+1  end=/>>>>>/he=b-1,me=b-1 contained | ||||||
|  | 
 | ||||||
|  | highlight default link wergeDiffChange Comment | ||||||
|  | highlight default link wergeDiffRm Removed | ||||||
|  | highlight default link wergeDiffAdd Added | ||||||
		Loading…
	
		Reference in a new issue
	
	 Mirek Kratochvil
						Mirek Kratochvil