# vim: Don’t allow edits in the read-only state \(\#10404\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 32806b832015ae8d4279852634830c0c997c0f50

Requested commit: 32806b832015ae8d4279852634830c0c997c0f50

Commit: 32806b832015ae8d4279852634830c0c997c0f50

Tree: f77759eb1752b512846e8830e58a116815886187

Author: Hans

Committer: GitHub

## Message

```
vim: Don’t allow edits in the read-only state (#10404)

Fix #8423 

Release Notes:

- vim: Fixed vim-surround motions editing read-only buffer
(preview-only)
```

## Parents

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

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