# Use buffer's main language when fetching language tasks \(\#32580\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9032ea9849fcb55ab99d63f4fae476341e12aecb

Requested commit: 9032ea9849fcb55ab99d63f4fae476341e12aecb

Commit: 9032ea9849fcb55ab99d63f4fae476341e12aecb

Tree: e7ea61f9b105e57e00c8a3f1918ba246bafd20e8

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Use buffer's main language when fetching language tasks (#32580)

Closes https://github.com/zed-industries/zed/issues/32465

Release Notes:

- Fixed language tasks fetched incorrectly for certain selections
```

## Parents

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

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