# Automatically indent the cursor when adding a newline after a \`\{\` in Gleam code files \(\#8097\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/58a5a1eb8f92400c4dba1df9678735fbd0afb57b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 58a5a1eb8f92400c4dba1df9678735fbd0afb57b

Requested commit: 58a5a1eb8f92400c4dba1df9678735fbd0afb57b

Commit: 58a5a1eb8f92400c4dba1df9678735fbd0afb57b

Tree: 34c8b190e937cd6250893c8211504de2c160c332

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Automatically indent the cursor when adding a newline after a `{` in Gleam code files (#8097)

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)).
```

## Parents

- [cd640a87a9b0b4787c7a1a94667fa25c13df93b7](https://git.cafe/gitcafe/zed/commit/cd640a87a9b0b4787c7a1a94667fa25c13df93b7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/58a5a1eb8f92400c4dba1df9678735fbd0afb57b?format=markdown)
