nvim-treesitter/runtime/queries/surface/injections.scm
2025-03-05 10:00:38 +01: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"))