Add indentation for Python pattern matching
Add indentation for `match` and `case`.
This commit is contained in:
parent
e0b034dcd1
commit
b156f57618
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
(while_statement)
|
(while_statement)
|
||||||
(with_statement)
|
(with_statement)
|
||||||
(try_statement)
|
(try_statement)
|
||||||
|
(match_statement)
|
||||||
|
(case_clause)
|
||||||
(import_from_statement)
|
(import_from_statement)
|
||||||
|
|
||||||
(parenthesized_expression)
|
(parenthesized_expression)
|
||||||
|
@ -33,6 +35,8 @@
|
||||||
(while_statement)
|
(while_statement)
|
||||||
(with_statement)
|
(with_statement)
|
||||||
(try_statement)
|
(try_statement)
|
||||||
|
(match_statement)
|
||||||
|
(case_clause)
|
||||||
|
|
||||||
(function_definition)
|
(function_definition)
|
||||||
(class_definition)
|
(class_definition)
|
||||||
|
|
Loading…
Add table
Reference in a new issue