nvim-treesitter/queries/python/fold.scm
Santos Gallegos fcdb3eb35d Python: update folds
Missed one
2020-09-03 19:03:05 +02:00

25 lines
464 B
Scheme

(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