2021-10-23 06:41:19 +04:00
|
|
|
(function_definition
|
|
|
|
body: (block)? @function.inside) @function.around
|
|
|
|
|
|
|
|
(class_definition
|
|
|
|
body: (block)? @class.inside) @class.around
|
|
|
|
|
|
|
|
(parameters
|
2022-05-23 16:24:30 +04:00
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
2021-10-23 06:41:19 +04:00
|
|
|
|
|
|
|
(lambda_parameters
|
2022-05-23 16:24:30 +04:00
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
2021-10-23 06:41:19 +04:00
|
|
|
|
|
|
|
(argument_list
|
2022-05-23 16:24:30 +04:00
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
2022-03-06 09:24:24 +04:00
|
|
|
|
|
|
|
(comment) @comment.inside
|
|
|
|
|
|
|
|
(comment)+ @comment.around
|
2022-06-20 06:36:33 +04:00
|
|
|
|
|
|
|
((function_definition
|
|
|
|
name: (identifier) @_name
|
|
|
|
body: (block)? @test.inside) @test.around
|
|
|
|
(#match? @_name "^test_"))
|
2024-03-31 20:53:15 +04:00
|
|
|
|
|
|
|
(list
|
|
|
|
(_) @entry.around)
|
|
|
|
|
|
|
|
(tuple
|
|
|
|
(_) @entry.around)
|
|
|
|
|
|
|
|
(set
|
|
|
|
(_) @entry.around)
|
|
|
|
|
|
|
|
(pair
|
|
|
|
(_) @entry.inside) @entry.around
|