mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-20 18:53:53 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			753 B
		
	
	
	
		
			YAML
		
	
	
	
		
			Vendored
		
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			753 B
		
	
	
	
		
			YAML
		
	
	
	
		
			Vendored
		
	
	
	
| %YAML 1.2
 | |
| ---
 | |
| # http://www.sublimetext.com/docs/3/syntax.html
 | |
| name: group
 | |
| file_extensions:
 | |
|   - group
 | |
| scope: source.group
 | |
| 
 | |
| contexts:
 | |
|   main:
 | |
|     - comment: name
 | |
|       match: ^[^:]+
 | |
|       scope: keyword
 | |
| 
 | |
|     - comment: password
 | |
|       match: ":"
 | |
|       push: password
 | |
| 
 | |
|   password:
 | |
|     - comment: uid
 | |
|       match: ":"
 | |
|       set: gid
 | |
| 
 | |
|     - comment: shadowpassword
 | |
|       match: "[^:]+"
 | |
|       scope: invalid
 | |
| 
 | |
|   gid:
 | |
|     - comment: gid
 | |
|       match: ":"
 | |
|       set: users
 | |
| 
 | |
|     - comment: number
 | |
|       match: "[0-9]+"
 | |
|       scope: constant.numeric
 | |
| 
 | |
|   users:
 | |
|     - comment: newline
 | |
|       match: "\n"
 | |
|       pop: true
 | |
| 
 | |
|     - comment: directory
 | |
|       match: "[^:\n]+"
 | |
|       scope: variable.parameter
 | |
| 
 | |
|     - comment: separator
 | |
|       match: ","
 | |
|       scope: punctuation
 |