Fix Doxygen @param highlight
There are two forms of `@param`: * `@param <name> <description>` * `@param[<use>] <name> <description>` Prior to this patch only the latter was highlighting `<name>` as a special comment, now both forms do this.
This commit is contained in:
		
							parent
							
								
									ec2b973fc0
								
							
						
					
					
						commit
						d0af1c7116
					
				| @ -45,7 +45,7 @@ if exists('g:c_doxygen') && g:c_doxygen | |||||||
| 
 | 
 | ||||||
|   " Match: @param name description.   @retval name description. |   " Match: @param name description.   @retval name description. | ||||||
|   "               ^^^^                        ^^^^ |   "               ^^^^                        ^^^^ | ||||||
|   syn region cDoxygenSpecial matchgroup=cDoxygenComment start='@\(param\(\[\(\|in\|out\|in,out\)\]\)\|retval\)\=\s\+' end='\(\s\|$\)' contained display |   syn region cDoxygenSpecial matchgroup=cDoxygenComment start='@\(param\(\[\(\|in\|out\|in,out\)\]\)\?\|retval\)\=\s\+' end='\(\s\|$\)' contained display | ||||||
| 
 | 
 | ||||||
|   " Match: @tparam name description. |   " Match: @tparam name description. | ||||||
|   "                ^^^^ |   "                ^^^^ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user