Constant tree_sitter_typescript::HIGHLIGHTS_QUERY
source ยท pub const HIGHLIGHTS_QUERY: &str = "; Types\n\n(type_identifier) @type\n(predefined_type) @type.builtin\n\n((identifier) @type\n (#match? @type \"^[A-Z]\"))\n\n(type_arguments\n \"<\" @punctuation.bracket\n \">\" @punctuation.bracket)\n\n; Variables\n\n(required_parameter (identifier) @variable.parameter)\n(optional_parameter (identifier) @variable.parameter)\n\n; Keywords\n\n[ \"abstract\"\n \"declare\"\n \"enum\"\n \"export\"\n \"implements\"\n \"interface\"\n \"keyof\"\n \"namespace\"\n \"private\"\n \"protected\"\n \"public\"\n \"type\"\n \"readonly\"\n \"override\"\n \"satisfies\"\n] @keyword\n\n; Sub-language delimeters\n(glimmer_opening_tag) @tag.builtin\n(glimmer_closing_tag) @tag.builtin\n";
Expand description
The syntax highlighting query for TypeScript.