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