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