# Remove plain text file type association from default settings \(\#25420\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a887f3b340b8844d4b489ac785a75e7e939389c3

Requested commit: a887f3b340b8844d4b489ac785a75e7e939389c3

Commit: a887f3b340b8844d4b489ac785a75e7e939389c3

Tree: 877850fabe594ddd762655c48601534dc144ad98

Author: Finn Evers

Committer: GitHub

## Message

```
Remove plain text file type association from default settings (#25420)

Closes #20291

This PR removes the plain text file association from the default
settings, as #21298 added a `LanguageMatcher` for Plain Text files,
which now associates "Plain Text" with `txt`-files (see
https://github.com/zed-industries/zed/blob/10053e2566c6c3312e2312088e40b757daeab189/crates/language/src/language.rs#L127-L137).

Thus, the association via the default settings is not required anymore,
which fixes #20291 as described in
https://github.com/zed-industries/zed/issues/20291#issuecomment-2500731743

Release Notes:

- Fixed default file type associations overriding associations provided
by extensions for `txt`-files.

Co-authored-by: Peter Tripp <peter@zed.dev>
```

## Parents

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

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