|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
(dotted_name
|
|
|
|
(dotted_name
|
|
|
|
(identifier)* @namespace)
|
|
|
|
(identifier)* @namespace)
|
|
|
|
|
|
|
|
|
|
|
|
(aliased_import
|
|
|
|
(aliased_import
|
|
|
|
alias: (identifier) @namespace)
|
|
|
|
alias: (identifier) @namespace)
|
|
|
|
|
|
|
|
|
|
|
@ -67,7 +67,7 @@
|
|
|
|
(parameters
|
|
|
|
(parameters
|
|
|
|
(dictionary_splat_pattern ; **kwargs
|
|
|
|
(dictionary_splat_pattern ; **kwargs
|
|
|
|
(identifier) @variable.parameter))
|
|
|
|
(identifier) @variable.parameter))
|
|
|
|
|
|
|
|
|
|
|
|
(lambda_parameters
|
|
|
|
(lambda_parameters
|
|
|
|
(identifier) @variable.parameter)
|
|
|
|
(identifier) @variable.parameter)
|
|
|
|
|
|
|
|
|
|
|
@ -97,7 +97,7 @@
|
|
|
|
(#match? @constant "^[A-Z_]{2,}$"))
|
|
|
|
(#match? @constant "^[A-Z_]{2,}$"))
|
|
|
|
|
|
|
|
|
|
|
|
((identifier) @type
|
|
|
|
((identifier) @type
|
|
|
|
(#match? @type "^[A-Z]"))
|
|
|
|
(#match? @type "^[A-Z]"))
|
|
|
|
|
|
|
|
|
|
|
|
(attribute attribute: (identifier) @variable.other.member)
|
|
|
|
(attribute attribute: (identifier) @variable.other.member)
|
|
|
|
(identifier) @variable
|
|
|
|
(identifier) @variable
|
|
|
@ -168,6 +168,8 @@
|
|
|
|
"if"
|
|
|
|
"if"
|
|
|
|
"elif"
|
|
|
|
"elif"
|
|
|
|
"else"
|
|
|
|
"else"
|
|
|
|
|
|
|
|
"match"
|
|
|
|
|
|
|
|
"case"
|
|
|
|
] @keyword.control.conditional
|
|
|
|
] @keyword.control.conditional
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|