You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/swift/injections.scm

7 lines
248 B
Scheme

; Upstream: https://github.com/alex-pinkus/tree-sitter-swift/blob/57c1c6d6ffa1c44b330182d41717e6fe37430704/queries/injections.scm
; Parse regex syntax within regex literals
((regex_literal) @injection.content
(#set! injection.language "regex"))