Add more highlight names
This commit is contained in:
		
							parent
							
								
									5f47ca5aa9
								
							
						
					
					
						commit
						e6713e0f6f
					
				
					 1 changed files with 19 additions and 3 deletions
				
			
		|  | @ -1,3 +1,5 @@ | ||||||
|  | use std::collections::HashSet; | ||||||
|  | 
 | ||||||
| use tree_sitter::QueryError; | use tree_sitter::QueryError; | ||||||
| use tree_sitter_highlight::HighlightConfiguration; | use tree_sitter_highlight::HighlightConfiguration; | ||||||
| 
 | 
 | ||||||
|  | @ -5,18 +7,32 @@ use crate::register_language; | ||||||
| 
 | 
 | ||||||
| pub static COMMON_HIGHLIGHT_NAMES: &[&str] = &[ | pub static COMMON_HIGHLIGHT_NAMES: &[&str] = &[ | ||||||
|     "attribute", |     "attribute", | ||||||
|  |     "comment", | ||||||
|     "constant", |     "constant", | ||||||
|     "function.builtin", |     "constant.builtin", | ||||||
|  |     "constant.character", | ||||||
|  |     "constructor", | ||||||
|  |     "embedded", | ||||||
|  |     "escape", | ||||||
|     "function", |     "function", | ||||||
|  |     "function.builtin", | ||||||
|  |     "function.macro", | ||||||
|  |     "function.method", | ||||||
|  |     "injection.content", | ||||||
|  |     "injection.language", | ||||||
|     "keyword", |     "keyword", | ||||||
|  |     "label", | ||||||
|  |     "local.definition", | ||||||
|  |     "local.reference", | ||||||
|  |     "local.scope", | ||||||
|  |     "number", | ||||||
|     "operator", |     "operator", | ||||||
|     "property", |     "property", | ||||||
|     "punctuation", |  | ||||||
|     "punctuation.bracket", |     "punctuation.bracket", | ||||||
|     "punctuation.delimiter", |     "punctuation.delimiter", | ||||||
|  |     "punctuation.special", | ||||||
|     "string", |     "string", | ||||||
|     "string.special", |     "string.special", | ||||||
|     "tag", |  | ||||||
|     "type", |     "type", | ||||||
|     "type.builtin", |     "type.builtin", | ||||||
|     "variable", |     "variable", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue