mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
30 lines
695 B
Scheme
30 lines
695 B
Scheme
|
|
((Comment) @injection.content
|
||
|
|
(#set! injection.language "comment"))
|
||
|
|
|
||
|
|
; SVG style
|
||
|
|
((element
|
||
|
|
(STag (Name) @_name)
|
||
|
|
(content) @injection.content)
|
||
|
|
(#eq? @_name "style")
|
||
|
|
(#set! injection.combined)
|
||
|
|
(#set! injection.include-children)
|
||
|
|
(#set! injection.language "css"))
|
||
|
|
|
||
|
|
; SVG script
|
||
|
|
((element
|
||
|
|
(STag (Name) @_name)
|
||
|
|
(content) @injection.content)
|
||
|
|
(#eq? @_name "script")
|
||
|
|
(#set! injection.combined)
|
||
|
|
(#set! injection.include-children)
|
||
|
|
(#set! injection.language "javascript"))
|
||
|
|
|
||
|
|
; phpMyAdmin dump
|
||
|
|
((element
|
||
|
|
(STag (Name) @_name)
|
||
|
|
(content) @injection.content)
|
||
|
|
(#eq? @_name "pma:table")
|
||
|
|
(#set! injection.combined)
|
||
|
|
(#set! injection.include-children)
|
||
|
|
(#set! injection.language "sql"))
|