| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							|  |  |  | " Language:	Abaqus finite element input file (www.hks.com) | 
					
						
							| 
									
										
										
										
											2022-08-08 15:42:38 +01:00
										 |  |  | " Maintainer:	Carl Osterwisch <costerwi@gmail.com> | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Last Change:	2002 Feb 24 | 
					
						
							|  |  |  | " Remark:	Huge improvement in folding performance--see filetype plugin | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Abaqus comment lines | 
					
						
							|  |  |  | syn match abaqusComment	"^\*\*.*$" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Abaqus keyword lines | 
					
						
							|  |  |  | syn match abaqusKeywordLine "^\*\h.*" contains=abaqusKeyword,abaqusParameter,abaqusValue display | 
					
						
							|  |  |  | syn match abaqusKeyword "^\*\h[^,]*" contained display | 
					
						
							|  |  |  | syn match abaqusParameter ",[^,=]\+"lc=1 contained display | 
					
						
							|  |  |  | syn match abaqusValue	"=\s*[^,]*"lc=1 contained display | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Illegal syntax | 
					
						
							|  |  |  | syn match abaqusBadLine	"^\s\+\*.*" display | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Define the default highlighting. | 
					
						
							| 
									
										
										
										
											2016-08-30 23:26:57 +02:00
										 |  |  | " Only when an item doesn't have highlighting yet | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " The default methods for highlighting.  Can be overridden later | 
					
						
							| 
									
										
										
										
											2016-08-31 22:22:10 +02:00
										 |  |  | hi def link abaqusComment	Comment | 
					
						
							|  |  |  | hi def link abaqusKeyword	Statement | 
					
						
							|  |  |  | hi def link abaqusParameter	Identifier | 
					
						
							| 
									
										
										
										
											2022-08-08 15:42:38 +01:00
										 |  |  | hi def link abaqusValue		Constant | 
					
						
							|  |  |  | hi def link abaqusBadLine    	Error | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "abaqus" |