diff options
author | Yuriy | 2022-11-01 17:49:33 +0000 |
---|---|---|
committer | Michael Davis | 2022-11-02 01:10:11 +0000 |
commit | b156f5761804a7e9a95268f80ff5e34dea783200 (patch) | |
tree | a7502b375d80e3d333f5514a72860f8f79cdd7d9 /runtime | |
parent | e0b034dcd1a99683efa429e55657dd68ebd9a301 (diff) |
Add indentation for Python pattern matching
Add indentation for `match` and `case`.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/python/indents.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/python/indents.scm b/runtime/queries/python/indents.scm index b7b499c0..743971ad 100644 --- a/runtime/queries/python/indents.scm +++ b/runtime/queries/python/indents.scm @@ -9,6 +9,8 @@ (while_statement) (with_statement) (try_statement) + (match_statement) + (case_clause) (import_from_statement) (parenthesized_expression) @@ -33,6 +35,8 @@ (while_statement) (with_statement) (try_statement) + (match_statement) + (case_clause) (function_definition) (class_definition) |