# Fix jumping to definition in a new file · gitcafe/zed

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

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

Visibility: public

Requested revision: 1935307b4f6b80438df46719ab5202ea7bd26850

Requested commit: 1935307b4f6b80438df46719ab5202ea7bd26850

Commit: 1935307b4f6b80438df46719ab5202ea7bd26850

Tree: ad3ed9535dabae0c499363585003eb969f5d68c7

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Fix jumping to definition in a new file

This is broken because vim currently sets settings only on the active
editor. Fix this by correcting the range on the currently active editor.

It would be nice (at some point) to refactor how vim sets settings, but
that's for another day.

```

## Parents

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

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