Treat flake.lock files as JSON (#13886)

This PR updates the default settings to treat Nix's `flake.lock` files
as JSON.

Resolves https://github.com/zed-extensions/nix/issues/2.

Release Notes:

- Nix's `flake.lock` files are now automatically identified as JSON.
This commit is contained in:
Marshall Bowers 2024-07-05 17:17:27 -04:00 committed by GitHub
parent 5c7e6b7eff
commit c190ed49da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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