Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

languages: Mark `.jshintrc` as a JSONC file (#52474)

William Desportes55fa8758d107
diff --git a/crates/grammars/src/jsonc/config.toml b/crates/grammars/src/jsonc/config.toml
index 95ace4bb4ee..acc0c2e13d5 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"]
+path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc", "swcrc", "babelrc", "eslintrc", "stylelintrc", "jshintrc"]
line_comments = ["// "]
autoclose_before = ",]}"
brackets = [