continue-custom/extensions/vscode/tree-sitter/root-path-context-queries/python/function_definition.scm

17 lines
No EOL
315 B
Scheme

(
(function_definition
(parameters
(_
(type) @a
(#not-match? @a "^(str|int|float|bool|list|dict|tuple)$")
)
)
)
)
(
(function_definition
(type) @b
(#not-match? @b "^(str|int|float|bool|list|dict|tuple)$")
)
)