Closes #27355 This PR treat `bun.lock` file as `.jsonc` note: [bun.lock](https://bun.sh/blog/bun-lock-text-lockfile) is a lockfile of bun.js Release Notes: - Updated `bun.lock` files to be recognized as JSONC.
16 lines
489 B
TOML
16 lines
489 B
TOML
name = "JSONC"
|
|
grammar = "jsonc"
|
|
path_suffixes = ["jsonc", "bun.lock", "tsconfig.json", "pyrightconfig.json"]
|
|
line_comments = ["// "]
|
|
autoclose_before = ",]}"
|
|
brackets = [
|
|
{ start = "{", end = "}", close = true, newline = true },
|
|
{ start = "[", end = "]", close = true, newline = true },
|
|
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
|
|
]
|
|
tab_size = 2
|
|
prettier_parser_name = "jsonc"
|
|
|
|
[overrides.string]
|
|
completion_query_characters = [":", " "]
|