assets/settings/default.json 🔗
@@ -494,6 +494,9 @@
"Elixir": {
"tab_size": 2
},
+ "Gleam": {
+ "tab_size": 2
+ },
"Go": {
"tab_size": 4,
"hard_tabs": true,
Joseph T. Lyons created
Fixes: https://github.com/zed-industries/zed/issues/7295
Release Notes:
- Fixed a bug where adding a newline after a `{` would not automatically
indent the cursor in Gleam code files
([#7295](https://github.com/zed-industries/zed/issues/7295)).
assets/settings/default.json | 3 +++
crates/zed/src/languages/gleam/indents.scm | 1 +
2 files changed, 4 insertions(+)
@@ -494,6 +494,9 @@
"Elixir": {
"tab_size": 2
},
+ "Gleam": {
+ "tab_size": 2
+ },
"Go": {
"tab_size": 4,
"hard_tabs": true,
@@ -0,0 +1 @@
+(_ "{" "}" @end) @indent