mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-30 06:33:59 +00:00 
			
		
		
		
	Improve VimL regex highlighting
**NOTES:** - PR is not yet merged in upstream repository (https://github.com/SalGnt/Sublime-VimL/pull/12), but sublime-syntax file is already updated with changes. - Updated syntax test files are added as well This fixes #1064
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							171d215f91
						
					
				
				
					commit
					29ea396c31
				
			
							
								
								
									
										4
									
								
								assets/syntaxes/02_Extra/VimL.sublime-syntax
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								assets/syntaxes/02_Extra/VimL.sublime-syntax
									
									
									
									
										vendored
									
									
								
							| @@ -75,10 +75,10 @@ contexts: | ||||
|     - match: '''(''''|\n[^\S\n]*\\|[^\n''])*''' | ||||
|       scope: string.quoted.single.viml | ||||
|   string_regex: | ||||
|     - match: '/(\\\\|\\/|\n[^\S\n]*\\|[^\n/])*/' | ||||
|     - match: '[gvs]{1}/(\\\\|\\/|\n[^\S\n]*\\|[^\n/])*/' | ||||
|       scope: string.regexp.viml | ||||
|   support_function: | ||||
|     - match: \b(set(local|global)?|let|command|filetype|colorscheme|\w*map|\w*a(b|brev)?|syn|exe(c|cute)?|ec(ho|)?|au(tocmd|)?)\b | ||||
|     - match: \b(set(local|global)?|let|command|filetype|syntax|colorscheme|\w*map|\w*a(b|brev)?|syn|exe(c|cute)?|ec(ho|)?|au(tocmd|)?)\b | ||||
|       scope: support.function.viml | ||||
|   support_type: | ||||
|     - match: <.*?> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user