Folds: rename query files to folds.scm to be consistent

We use plural names for all query files except folds.
This commit is contained in:
Santos Gallegos 2020-09-13 11:23:26 -05:00 committed by Thomas Vigouroux
parent 97113abedc
commit 50991e370b
10 changed files with 3 additions and 3 deletions

25
queries/python/folds.scm Normal file
View file

@ -0,0 +1,25 @@
(function_definition (block) @fold)
(class_definition (block) @fold)
(while_statement (block) @fold)
(for_statement (block) @fold)
(if_statement (block) @fold)
(with_statement (block) @fold)
(try_statement (block) @fold)
[
(import_from_statement)
(parameters)
(argument_list)
(parenthesized_expression)
(generator_expression)
(list_comprehension)
(set_comprehension)
(dictionary_comprehension)
(tuple)
(list)
(set)
(dictionary)
] @fold