mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
35 lines
790 B
Scheme
35 lines
790 B
Scheme
; AUTO-GENERATED by scripts/sync_queries.py
|
|
; Edit only the LOCAL section in composed files.
|
|
; File: injections.scm
|
|
; === BEGIN CORE ===
|
|
(embedded_html
|
|
(angled_bracket_fenced_text) @injection.content
|
|
(#set! injection.language "html"))
|
|
|
|
(embedded_sql
|
|
(_
|
|
(paren_fenced_text) @injection.content)
|
|
(#set! injection.language "sql"))
|
|
|
|
(embedded_js
|
|
[
|
|
(angled_bracket_fenced_text)
|
|
(embedded_js_special_case)
|
|
] @injection.content
|
|
(#set! injection.language "javascript"))
|
|
|
|
(embedded_xml
|
|
(angled_bracket_fenced_text) @injection.content
|
|
(#set! injection.language "xml"))
|
|
|
|
([
|
|
(line_comment_1)
|
|
(line_comment_2)
|
|
(line_comment_3)
|
|
(block_comment)
|
|
] @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
; === END CORE ===
|
|
; === BEGIN LOCAL ===
|
|
; === END LOCAL ===
|