mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
36 lines
825 B
Scheme
36 lines
825 B
Scheme
([
|
|
(line_comment)
|
|
(block_comment)
|
|
] @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
(extension_expression
|
|
(extension_identifier) @_name
|
|
(#eq? @_name "re")
|
|
(expression_statement
|
|
(_) @injection.content
|
|
(#set! injection.language "regex")))
|
|
|
|
(extension_expression
|
|
(extension_identifier) @_name
|
|
(#eq? @_name "raw")
|
|
(expression_statement
|
|
(_
|
|
(_) @injection.content
|
|
(#set! injection.language "javascript"))))
|
|
|
|
(extension_expression
|
|
(extension_identifier) @_name
|
|
(#eq? @_name "graphql")
|
|
(expression_statement
|
|
(_
|
|
(_) @injection.content
|
|
(#set! injection.language "graphql"))))
|
|
|
|
(extension_expression
|
|
(extension_identifier) @_name
|
|
(#eq? @_name "relay")
|
|
(expression_statement
|
|
(_
|
|
(_) @injection.content
|
|
(#set! injection.language "graphql"))))
|