Add luaurc path suffix to JSONC (#46037)

Closes https://github.com/4teapo/zed-luau/issues/31

Luau `.luaurc` config files contain JSON but that allows comments and
trailing commas, making them a perfect fit for JSONC.

Release Notes:

- N/A
This commit is contained in:
teapo authored and GitHub committed 2026-01-05 17:11:00 +02:00
1 parent 3008d338db
commit e03df07421
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
name = "JSONC"
grammar = "jsonc"
path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json"]
path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc"]
line_comments = ["// "]
autoclose_before = ",]}"
brackets = [