Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Improve automatic indentation in Gleam code files (#8098)

Joseph T. Lyonsc58d72ea2bcd
diff --git a/crates/zed/src/languages/gleam/indents.scm b/crates/zed/src/languages/gleam/indents.scm
index e9754690920..112b414aa45 100644
--- a/crates/zed/src/languages/gleam/indents.scm
+++ b/crates/zed/src/languages/gleam/indents.scm
@@ -1 +1,3 @@
+(_ "[" "]" @end) @indent
(_ "{" "}" @end) @indent
+(_ "(" ")" @end) @indent