Debian Codegraph @

runtime/queries/amber/injections.scm

raw symbols SCIP
1 ; Inject bash into command content
2 ((command_content) @injection.content
3 (#set! injection.language "bash"))
4
5 ; Inject markdown into documentation comments (///)
6 ((comment) @injection.content
7 (#match? @injection.content "^///")
8 (#set! injection.language "markdown")
9 (#set! injection.combined))
10
11 ; Regular comments (excluding doc comments)
12 ((comment) @injection.content
13 (#not-match? @injection.content "^///")
14 (#set! injection.language "comment"))