From a887f3b340b8844d4b489ac785a75e7e939389c3 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Fri, 7 Mar 2025 14:45:23 +0100 Subject: [PATCH] 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 --- assets/settings/default.json | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index 714252f690..0e55da877d 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1055,7 +1055,6 @@ // } // "file_types": { - "Plain Text": ["txt"], "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "**/Zed/**/*.json", "**/.vscode/**/*.json"], "Shell Script": [".env.*"] },