# vim: Fix edge-case in \} when trailing newline is absent · gitcafe/zed

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

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

Visibility: public

Requested revision: abb58c41dbc8b31c02873ba294daf7530ff51e5e

Requested commit: abb58c41dbc8b31c02873ba294daf7530ff51e5e

Commit: abb58c41dbc8b31c02873ba294daf7530ff51e5e

Tree: 8283c6e63b09d96e1a2e33a656bc15311fdc6475

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
vim: Fix edge-case in } when trailing newline is absent

Added .assert_shared_state() to NeovimBackedTestContext – although it's
not strictly necessary to show the expected behaviour in the test file
(as we can just compare to neovim's JSON recording), it makes it much
easier to understand what we're testing.

```

## Parents

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

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