34 lines · 895 B · Scheme
RawDownload
((comment) @injection.content (#set! injection.language "comment")) ; SQL -----------------------------------------------------------------------------(    [        ; function calls        (call            [                (attribute attribute: (identifier) @function_name)                (identifier) @function_name            ]            arguments: (argument_list                (comment) @comment                (string                    (string_content) @injection.content                )        ))         ; string variables        ((comment) @comment            .            (expression_statement                (assignment                    right: (string                        (string_content) @injection.content                    )                )        ))    ]    (#match? @comment "^(#|#\\s+)(?i:sql)\\s*$")    (#set! injection.language "sql"))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t