languages: Fix detents case line after typing : in Python (#34017)

Closes #34002

`decrease_indent_patterns` should only contain mapping which are at same
indent level with each other, which is not true for `match` and `case`
mapping.

Caused in https://github.com/zed-industries/zed/pull/33370

Release Notes:

- N/A
This commit is contained in:
Smit Barmase
2025-07-07 22:41:29 +05:30
committed by GitHub
parent 8cc3b094d2
commit 38febed02d
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -14,4 +14,4 @@
(else_clause) @start.else
(except_clause) @start.except
(finally_clause) @start.finally
(case_pattern) @start.case
(case_clause) @start.case