Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
languages: Fix python indent block for more keywords (#30323)
Smit Barmase05a6c31ad8c6
diff --git a/crates/languages/src/python/indents.scm b/crates/languages/src/python/indents.scmindex 3f5fd872948..f5fe106c535 100644--- a/crates/languages/src/python/indents.scm+++ b/crates/languages/src/python/indents.scm@@ -24,6 +24,31 @@body: (block) @indent)+(with_statement+ ":" @start+ body: (block) @indent+)++(while_statement+ ":" @start+ body: (block) @indent+)++(match_statement+ ":" @start+ body: (block) @indent+)++(class_definition+ ":" @start+ body: (block) @indent+)++(case_clause+ ":" @start+ consequence: (block) @indent+)+(try_statement":" @startbody: (block) @indent