https://github.com/openvanilla/mcbopomofo-zed-extension
McBopomofo Data Extension for Zed
https://github.com/openvanilla/mcbopomofo-zed-extension
zed zed-extension
Last synced: 27 days ago
JSON representation
McBopomofo Data Extension for Zed
- Host: GitHub
- URL: https://github.com/openvanilla/mcbopomofo-zed-extension
- Owner: openvanilla
- Created: 2026-05-19T02:00:45.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-19T02:42:43.000Z (2 months ago)
- Last Synced: 2026-05-19T04:42:39.599Z (2 months ago)
- Topics: zed, zed-extension
- Language: C
- Homepage:
- Size: 181 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# McBopomofo Data Extension for Zed
Copyright (c) 2026 and onwards The McBopomofo Authors.
This [Zed](https://zed.dev/) extension provides syntax highlighting for McBopomofo data files (`data.txt` and `excluded-phrases.txt`).

## Features
- Syntax highlighting for words and Bopomofo readings.
- Hyphen separator highlighting.
- Comment highlighting.
- Error highlighting for invalid lines.
## Installation
1. Clone or download this repository.
2. Open Zed.
3. Open the command palette (`Cmd+Shift+P`).
4. Run `zed: install dev extension`.
5. Select the root folder of this extension.
## Grammar Rules
- Words are colored as strings.
- Bopomofo readings are colored as types.
- Hyphens are colored as punctuation.
- Comments start with `#`.
- Invalid lines are marked as errors.