Improve Jenkins groovy syntax highlights
This commit is contained in:
		
							parent
							
								
									2c842cea09
								
							
						
					
					
						commit
						1c114b7135
					
				| @ -39,7 +39,7 @@ syn match groovyNumber "\(\<\d\(\d\|_\d\)*\.\(\d\(\d\|_\d\)*\)\=\|\.\d\(\d\|_\d\ | ||||
| syn match groovyNumber "\<\d\(\d\|_\d\)*[eE][-+]\=\d\(\d\|_\d\)*[fFdD]\=\>" | ||||
| syn match groovyNumber "\<\d\(\d\|_\d\)*\([eE][-+]\=\d\(\d\|_\d\)*\)\=[fFdD]\>" | ||||
| syn region groovyComment start='\/\*' end='\*\/' fold | ||||
| syn match groovyComment '\s*\/\/.*$' | ||||
| syn match groovyComment '\/\/.*$' | ||||
| syn match groovyDelimiter '[()\[\]]' | ||||
| syn region groovyBlock matchgroup=groovyDelimiter start='{' end='}' transparent fold | ||||
| syn match groovyStructure '\w\+\ze\s*{' | ||||
| @ -50,7 +50,7 @@ syn region groovyString start=+'+ end=+'+ oneline contains=groovyIdentifier | ||||
| syn region groovyString start=+'''+ end=+'''+ fold contains=groovyIdentifier | ||||
| 
 | ||||
| syn match groovyKeywordParam "\w\+\ze\s*=\s*" | ||||
| syn region groovyFunctionParams matchgroup=groovyDelimiter start='(' end=')' contains=groovyString,groovyIdentifier,groovyNumber,groovyBoolean,groovyKeywordParam transparent | ||||
| syn region groovyFunctionParams matchgroup=groovyDelimiter start='(' end=')' contains=groovyComment,groovyString,groovyIdentifier,groovyNumber,groovyBoolean,groovyKeywordParam transparent | ||||
| 
 | ||||
| syn cluster groovySyntax contains=groovyAssert,groovyBlock,groovyBoolean,groovyBranch,groovyClassDecl,groovyComment,groovyConditional,groovyConstant,groovyDelimiter,groovyError,groovyExceptions,groovyExternal,groovyFunction,groovyIdentifier,groovyMethodDecl,groovyNumber,groovyOperator,groovyRepeat,groovyScopeDecl,groovyStatement,groovyStorageClass,groovyString,groovyStructure,groovyType,groovyTypedef,groovyUserLabelRef | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user