mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			720 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			720 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
%YAML 1.2
 | 
						|
---
 | 
						|
# http://www.sublimetext.com/docs/3/syntax.html
 | 
						|
name: Hex Inspect
 | 
						|
file_extensions: []
 | 
						|
hidden: true
 | 
						|
scope: source.inspect
 | 
						|
contexts:
 | 
						|
  main:
 | 
						|
    - match: '([\w\-]+)\s*(:)\s*'
 | 
						|
      captures:
 | 
						|
        1: support.function.key.inspect
 | 
						|
        2: support.function.punctuation.inspect
 | 
						|
      push:
 | 
						|
        - meta_scope: item.inspect
 | 
						|
        - match: '([\d\-\w]+)'
 | 
						|
          captures:
 | 
						|
            1: data.inspect
 | 
						|
          pop: true
 | 
						|
    - match: '^(\s*[\w\-\s]+)\s*(:)\s*'
 | 
						|
      captures:
 | 
						|
        1: keyword.title.inspect
 | 
						|
        2: keyword.title-punctuation.inspect
 | 
						|
      push:
 | 
						|
        - meta_scope: item.inspect
 | 
						|
        - match: $
 | 
						|
          pop: true
 | 
						|
        - match: '[\w\s]+'
 | 
						|
          scope: title-info.inspect
 |