# Opt into language-aware features when getting buffer chunks · gitcafe/zed

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

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

Visibility: public

Requested revision: ab26a175a4f904ed40b40266b5270e90ebf979a4

Requested commit: ab26a175a4f904ed40b40266b5270e90ebf979a4

Commit: ab26a175a4f904ed40b40266b5270e90ebf979a4

Tree: 721d6abf1458b1e7efa60ef86ac4f6219fd413df

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Opt into language-aware features when getting buffer chunks

We use chunks a lot to transform points and sync the various display maps,
and always querying tree-sitter or the LSP diagnostics in those cases is
unnecessarily expensive.

```

## Parents

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

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