# snippets: Fix plaintext snippets not working \(\#28655\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 77544f42b1c92451676e71fbe849ec9be1f84c09

Requested commit: 77544f42b1c92451676e71fbe849ec9be1f84c09

Commit: 77544f42b1c92451676e71fbe849ec9be1f84c09

Tree: 4a37238350c9f877decd398a427978600e38600e

Author: loczek

Committer: GitHub

## Message

```
snippets: Fix plaintext snippets not working (#28655)

This PR fixes a minor regression introduced in #27718, where snippets
stopped working when the language was set to plaintext because
`languages_at` doesn't include plaintext, while `language_at` does.

Release Notes:

- Fixed plaintext snippets not working
```

## Parents

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

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