Skip to main content

INJECTIONS_QUERY

Constant INJECTIONS_QUERY 

Source
pub const INJECTIONS_QUERY: &str = "; AUTO-GENERATED by scripts/sync_queries.py\n; Edit only the LOCAL section in composed files.\n; File: injections.scm\n; === BEGIN CORE ===\n(embedded_html\n  (angled_bracket_fenced_text) @injection.content\n  (#set! injection.language \"html\"))\n\n(embedded_sql\n  (_\n    (paren_fenced_text) @injection.content)\n  (#set! injection.language \"sql\"))\n\n(embedded_js\n  [\n    (angled_bracket_fenced_text)\n    (embedded_js_special_case)\n  ] @injection.content\n  (#set! injection.language \"javascript\"))\n\n(embedded_xml\n  (angled_bracket_fenced_text) @injection.content\n  (#set! injection.language \"xml\"))\n\n([\n  (line_comment_1)\n  (line_comment_2)\n  (line_comment_3)\n  (block_comment)\n] @injection.content\n  (#set! injection.language \"comment\"))\n\n; === END CORE ===\n; === BEGIN LOCAL ===\n; === END LOCAL ===\n";
Expand description

The injections query for ObjectScript routine grammar.