# Improve logic for obtaining surrounds range in Vim mode \(\#10938\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1a27016123524dcd0e3d8c9f2c316f17223f4422

Requested commit: 1a27016123524dcd0e3d8c9f2c316f17223f4422

Commit: 1a27016123524dcd0e3d8c9f2c316f17223f4422

Tree: 4c7650635022108eafed3e527599f6f8e73775d6

Author: Hans

Committer: GitHub

## Message

```
Improve logic for obtaining surrounds range in Vim mode (#10938)

now correctly retrieves range in cases where escape characters are
present. Fixed #10827


Release Notes:

- vim: Fix logic for finding surrounding quotes to ignore escaped
characters (#10827)
```

## Parents

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

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