Treat tsconfig.json as JSONC (#14920)

This PR updates the default settings to treat `tsconfig.json` files as
JSONC.

Resolves https://github.com/zed-industries/zed/issues/14906.

Release Notes:

- TypeScript's `tsconfig.json` files are now treated as JSONC.
This commit is contained in:
Marshall Bowers 2024-07-21 12:17:16 -04:00 committed by GitHub
parent a4baba7edd
commit 45b45155d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -705,7 +705,7 @@
// //
"file_types": { "file_types": {
"JSON": ["flake.lock"], "JSON": ["flake.lock"],
"JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json"] "JSONC": ["**/.zed/**/*.json", "**/zed/**/*.json", "tsconfig.json"]
}, },
// The extensions that Zed should automatically install on startup. // The extensions that Zed should automatically install on startup.
// //