Constant tree_sitter_svelte::INJECTION_QUERY [−][src]
pub const INJECTION_QUERY: &'static str = "; injections.scm\n; --------------\n((style_element\n (raw_text) @css))\n\n((attribute\n (attribute_name) @_attr\n (quoted_attribute_value (attribute_value) @css))\n (#eq? @_attr \"style\"))\n\n((script_element\n (raw_text) @javascript))\n\n((raw_text_expr) @javascript)\n\n(\n (script_element\n (start_tag\n (attribute\n (quoted_attribute_value (attribute_value) @_lang)))\n (raw_text) @typescript)\n (#match? @_lang \"(ts|typescript)\")\n)\n\n(comment) @comment\n";
The syntax highlighting query for languages injected into this one.