1
0
mirror of https://github.com/helix-editor/helix synced 2026-05-05 05:42:27 +02:00
Files
helix/runtime/queries/scala/injections.scm
2026-03-14 10:47:40 -05:00

16 lines
422 B
Scheme

([(comment) (block_comment)] @injection.content
(#set! injection.language "comment"))
; Matches these SQL interpolators:
; - Doobie: 'sql', 'fr'
; - Quill: 'sql', 'infix'
; - Slick: 'sql', 'sqlu'
(interpolated_string_expression
interpolator:
((identifier) @interpolator
(#any-of? @interpolator "fr" "infix" "sql" "sqlu"))
(interpolated_string) @injection.content
(#set! injection.language "sql"))