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:
1 parent
3008d338db
commit
e03df07421
1 file changed
+1
-1
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user