From 50991e370b0d253ada9029000d23189a95f9dec3 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 13 Sep 2020 11:23:26 -0500 Subject: Folds: rename query files to folds.scm to be consistent We use plural names for all query files except folds. --- queries/python/fold.scm | 25 ------------------------- queries/python/folds.scm | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 queries/python/fold.scm create mode 100644 queries/python/folds.scm (limited to 'queries/python') diff --git a/queries/python/fold.scm b/queries/python/fold.scm deleted file mode 100644 index 16c0cb48..00000000 --- a/queries/python/fold.scm +++ /dev/null @@ -1,25 +0,0 @@ -(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 diff --git a/queries/python/folds.scm b/queries/python/folds.scm new file mode 100644 index 00000000..16c0cb48 --- /dev/null +++ b/queries/python/folds.scm @@ -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 -- cgit v1.2.3