# languages: Fix Markdown list items are automatically indented erroneously \(\#44381\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e75a7aecd6ebd2c381d9dfb606be20cc4326200b

Requested commit: e75a7aecd6ebd2c381d9dfb606be20cc4326200b

Commit: e75a7aecd6ebd2c381d9dfb606be20cc4326200b

Tree: 75395c22d993cb40d8f626a33411ecd1c2a5938b

Author: Smit Barmase

Committer: GitHub

## Message

```
languages: Fix Markdown list items are automatically indented erroneously (#44381)

Closes #44223

Regressed in https://github.com/zed-industries/zed/pull/40794 in attempt
to fix https://github.com/zed-industries/zed/issues/40757. This PR
handles both cases and add more tests around it.

Bug is only in Nightly.

Release Notes:

- N/A
```

## Parents

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

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