Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun.lock file loss highlighting #27355

Closed
A-caibird opened this issue Mar 24, 2025 · 3 comments · Fixed by #27359
Closed

bun.lock file loss highlighting #27355

A-caibird opened this issue Mar 24, 2025 · 3 comments · Fixed by #27359

Comments

@A-caibird
Copy link
Contributor

Summary

bun.lock file loss highlighting, please treat bun.lock file as .jsonc

Zed Version and System Specs

Zed: v0.178.5 (Zed)
OS: macOS 15.3.2
Memory: 16 GiB
Architecture: aarch64

@A-caibird
Copy link
Contributor Author

bun.lock reference

@UNovak
Copy link

UNovak commented Mar 24, 2025

for now you can get highlighting by editing the file_type in your global config file.

}
  // ...
  "file_types": {
    "JSONC": ["**/Zed/**/*.json", "**/.vscode/**/*.json", "bun.lock"]
    // ...
  },
  // ...
}

@A-caibird
Copy link
Contributor Author

@UNovak thank you! before that, i knew this would resolve my prob, but i want zed to have this config built-in

notpeter pushed a commit that referenced this issue Mar 24, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants