# zeta2: Numbered lines prompt format \(\#40218\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 376335496d4c4462812780ec3fb9864c93a37282

Requested commit: 376335496d4c4462812780ec3fb9864c93a37282

Commit: 376335496d4c4462812780ec3fb9864c93a37282

Tree: 720f869cf0b5bd595d13c1d80a34c200ff09f0e1

Author: Agus Zubiaga

Committer: GitHub

## Message

```
zeta2: Numbered lines prompt format (#40218)

Adds a new `NumberedLines` format which is similar to `MarkedExcerpt`
but each line is prefixed with its line number.

Also fixes a bug where contagious snippets wouldn't get merged.

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <mgsloan@gmail.com>
Co-authored-by: Michael <michael@zed.dev>
```

## Parents

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

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