Skip to content

feat: add Protobuf language#174

Closed
CathalMullan wants to merge 1 commit into
bearcove:mainfrom
CathalMullan:proto
Closed

feat: add Protobuf language#174
CathalMullan wants to merge 1 commit into
bearcove:mainfrom
CathalMullan:proto

Conversation

@CathalMullan
Copy link
Copy Markdown
Contributor

Adds Protobuf support.

Uses the same tree-sitter grammar as the Zed extension: https://github.com/zed-industries/zed/blob/main/extensions/proto/extension.toml

fasterthanlime added a commit that referenced this pull request May 9, 2026
## Summary

Integration PR collecting all currently open Arborium PRs into one
review branch.

Notably, this brings KDL back by popular demand.

Included PRs:
- #174 feat: add Protobuf language
- #176 add evergarden theme
- #177 update Yuri highlighting, queries, and metadata
- #178 feat: loader: pass version to resolveJs and resolveWasm
- #179 feat: iife: add special `none` theme that skips css injection
- #180 feat: detect: add `bat` alias to batch
- #184 feat: add jsdoc language
- #185 feat: add kdl language
- #186 feat: add make language
- #187 feat: add regex language
- #188 feat: add gitattributes language
- #189 feat: add kconfig language
- #190 feat: add odin language
- #191 feat: add just language
- #199 add Makefile language support

## Integration notes

- Cherry-picked source PR commits onto a fresh branch from
`origin/main`.
- Regenerated parser/package/CI metadata with `cargo xtask gen --quiet`
and `cargo xtask ci generate`.
- Moved the Evergarden theme source from the old root `themes/` path
into `crates/arborium-theme/themes/` so the current generator emits the
Rust registry and CSS package artifact for it.
- Kept both `make` and `makefile` language additions because they come
from distinct PRs and generate separate language IDs.

## Local validation

- `cargo xtask gen --quiet`
- `cargo xtask ci generate`
- `cargo xtask lint --strict`

Known warnings:
- `xtask` reports unused method `Theme::style`.
- `arborium-yuri` sample is below the recommended 25-line sample length.

---------

Co-authored-by: Cathal Mullan <contact@cathal.dev>
Co-authored-by: june <me@koi.rip>
Co-authored-by: addie.sh <gitmail@addie.sh>
Co-authored-by: Meghan Denny <hello@nektro.net>
Co-authored-by: Brad Reynolds <brad@shipium.com>
@fasterthanlime
Copy link
Copy Markdown
Collaborator

Folded into the larger integration PR #200: #200

Closing this PR so review and release can happen from the combined integration PR.

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 this pull request may close these issues.

2 participants