An open API service indexing awesome lists of open source software.

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

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`).

![screenshot](screenshot.png)

## 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.