nvim-treesitter/runtime/queries/surface/injections.scm
2025-05-12 18:43:40 +02:00

10 lines
275 B
Scheme

; Surface expressions and components are Elixir code
([
(expression_value)
(component_name)
] @injection.content
(#set! injection.language "elixir"))
; Surface comments are nvim-treesitter comments
((comment) @injection.content
(#set! injection.language "comment"))