# editor: Fix block comment with same prefix as line comment incorrectly extending on new line \(\#34156\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 66dda8e3682430a855d39abb26f2077559ec7919

Requested commit: 66dda8e3682430a855d39abb26f2077559ec7919

Commit: 66dda8e3682430a855d39abb26f2077559ec7919

Tree: bb696985890bae294e319c8ba49479b06c5c5767

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix block comment with same prefix as line comment incorrectly extending on new line (#34156)

Closes #33930

Release Notes:

- Fixed `--[[` incorrectly extending `--` upon a new line in Lua.
```

## Parents

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

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