delete custom queries
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
((comment) @injection.content (#offset! @injection.content 0 2 0 0)
|
|
||||||
(import_declaration (import_spec path: (interpreted_string_literal
|
|
||||||
(interpreted_string_literal_content)
|
|
||||||
@package (#eq? @package
|
|
||||||
"C")))) (#set!
|
|
||||||
|
|
||||||
"c"))
|
|
||||||
|
|
||||||
(call_expression
|
|
||||||
function:
|
|
||||||
(selector_expression
|
|
||||||
field: (field_identifier) @_ident)(#any-of? @_ident "Exec" "Query" "QueryRow")
|
|
||||||
arguments: (
|
|
||||||
(argument_list (raw_string_literal (raw_string_literal_content) @injection.content)))
|
|
||||||
(#set! injection.language "sql")
|
|
||||||
)
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
;; extends
|
|
||||||
|
|
||||||
(fenced_code_block
|
|
||||||
(info_string (language) @injection.language)
|
|
||||||
(code_fence_content) @injection.content
|
|
||||||
)
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
(block_mapping_pair
|
|
||||||
key: (flow_node) @_run
|
|
||||||
(#any-of? @_run "query")
|
|
||||||
value: (block_node
|
|
||||||
(block_scalar) @injection.content
|
|
||||||
(#set! injection.language "sql")
|
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
|
||||||
|
|
||||||
(block_mapping_pair
|
|
||||||
key: (flow_node) @_run
|
|
||||||
(#any-of? @_run "script")
|
|
||||||
value: (block_node
|
|
||||||
(block_scalar) @injection.content
|
|
||||||
(#set! injection.language "bash")
|
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
|
||||||
|
|
||||||
(block_mapping_pair
|
|
||||||
key: (flow_node) @_run
|
|
||||||
(#any-of? @_run "documentation")
|
|
||||||
value: (block_node
|
|
||||||
(block_scalar) @injection.content
|
|
||||||
(#set! injection.language "markdown")
|
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
|
||||||
|
|
||||||
(block_mapping_pair
|
|
||||||
key: (flow_node) @_run
|
|
||||||
(#any-of? @_run "query")
|
|
||||||
value: (flow_node
|
|
||||||
(double_quote_scalar) @injection.content
|
|
||||||
(#set! injection.language "sql")
|
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
|
||||||
|
|
||||||
(block_mapping_pair
|
|
||||||
key: (flow_node (plain_scalar (string_scalar) @injection.language))
|
|
||||||
value: (block_node
|
|
||||||
(block_scalar) @injection.content
|
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user