summaryrefslogtreecommitdiff
path: root/runtime/queries/julia/injections.scm
blob: caed916f3b1350fd517221365d691deb9f02ca3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(
  (string_literal) @injection.content
  (#set! injection.language "markdown"))

(
  [
    (line_comment) 
    (block_comment)
  ] @injection.content
  (#set! injection.language "comment"))

(
  (prefixed_string_literal
    prefix: (identifier) @function.macro) @injection.content
  (#eq? @function.macro "re")
  (#set! injection.language "regex"))