mirror of
				https://github.com/cmur2/joe-syntax.git
				synced 2025-11-04 04:25:08 +01:00 
			
		
		
		
	added some support for edoc
This commit is contained in:
		
							
								
								
									
										32
									
								
								erlang.jsf
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								erlang.jsf
									
									
									
									
									
								
							@@ -2,6 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
=Idle
 | 
					=Idle
 | 
				
			||||||
=Comment	fg_030
 | 
					=Comment	fg_030
 | 
				
			||||||
 | 
					=Edoc		fg_033
 | 
				
			||||||
=String		fg_110
 | 
					=String		fg_110
 | 
				
			||||||
=String_mod	fg_200 bold
 | 
					=String_mod	fg_200 bold
 | 
				
			||||||
=String_esc	fg_000 bold
 | 
					=String_esc	fg_000 bold
 | 
				
			||||||
@@ -32,8 +33,38 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
:line_comment Comment
 | 
					:line_comment Comment
 | 
				
			||||||
	*		line_comment
 | 
						*		line_comment
 | 
				
			||||||
 | 
						"@"		is_edoc		noeat buffer 
 | 
				
			||||||
	"\n"		idle
 | 
						"\n"		idle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:is_edoc Comment
 | 
				
			||||||
 | 
						*		line_comment	noeat strings
 | 
				
			||||||
 | 
						"@clear"	edoc
 | 
				
			||||||
 | 
						"@docfile"	edoc
 | 
				
			||||||
 | 
						"@headerfle"	edoc
 | 
				
			||||||
 | 
						"@todo"		edoc
 | 
				
			||||||
 | 
						"@TODO"		edoc
 | 
				
			||||||
 | 
						"@type"		edoc
 | 
				
			||||||
 | 
						"@reference"	edoc
 | 
				
			||||||
 | 
						"@see"		edoc
 | 
				
			||||||
 | 
						"@since"	edoc
 | 
				
			||||||
 | 
						"@deprecated"	edoc
 | 
				
			||||||
 | 
						"@hidden"	edoc
 | 
				
			||||||
 | 
						"@private"	edoc
 | 
				
			||||||
 | 
						"@equiv"	edoc
 | 
				
			||||||
 | 
						"@throws"	edoc
 | 
				
			||||||
 | 
						"@author"	edoc
 | 
				
			||||||
 | 
						"@copyright"	edoc
 | 
				
			||||||
 | 
						"@version"	edoc
 | 
				
			||||||
 | 
						"@title"	edoc
 | 
				
			||||||
 | 
						"@spec"		edoc
 | 
				
			||||||
 | 
						"@doc"		edoc
 | 
				
			||||||
 | 
						"@end"		edoc
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
						"a-z@"		is_edoc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:edoc Keyword
 | 
				
			||||||
 | 
						*		line_comment	noeat
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:variable Variable
 | 
					:variable Variable
 | 
				
			||||||
	*		idle		noeat
 | 
						*		idle		noeat
 | 
				
			||||||
	"a-zA-Z0-9_"	variable
 | 
						"a-zA-Z0-9_"	variable
 | 
				
			||||||
@@ -95,7 +126,6 @@
 | 
				
			|||||||
:maybe_attribute Idle
 | 
					:maybe_attribute Idle
 | 
				
			||||||
	*		idle		noeat
 | 
						*		idle		noeat
 | 
				
			||||||
	"a-z_"		maybe_attribute
 | 
						"a-z_"		maybe_attribute
 | 
				
			||||||
	" "		maybe_attribute
 | 
					 | 
				
			||||||
	"(."		attribute	recolormark noeat
 | 
						"(."		attribute	recolormark noeat
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:attribute Attribute
 | 
					:attribute Attribute
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user