Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
jsonc: Recognize `renovate.json` as JSONC (#54527)
Peter Tripp5920187e3a97
diff --git a/.zed/settings.json b/.zed/settings.jsonindex 2ecbd5623d2..eec687955d9 100644--- a/.zed/settings.json+++ b/.zed/settings.json@@ -49,7 +49,7 @@},"file_types": {"Dockerfile": ["Dockerfile*[!dockerignore]"],- "JSONC": ["**/assets/**/*.json", "renovate.json"],+ "JSONC": ["**/assets/**/*.json"],"Git Ignore": ["dockerignore"],},"hard_tabs": false,diff --git a/crates/grammars/src/jsonc/config.toml b/crates/grammars/src/jsonc/config.tomlindex 3d9811a042e..0d6aa369d38 100644--- a/crates/grammars/src/jsonc/config.toml+++ b/crates/grammars/src/jsonc/config.toml@@ -1,6 +1,6 @@name = "JSONC"grammar = "jsonc"-path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc", "swcrc", "babelrc", "eslintrc", "stylelintrc", "jshintrc"]+path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "renovate.json", "luaurc", "swcrc", "babelrc", "eslintrc", "stylelintrc", "jshintrc"]line_comments = ["// "]block_comment = { start = "/*", prefix = "", end = "*/", tab_size = 1 }autoclose_before = ",]}"