Files
zed-p8/extension.toml
T
kistaro 445aac4e30 Pin grammar revs to v0.2 commit
Both [grammars.*] blocks now reference the v0.2 SHA, so a fresh
`zed: install dev extension` clones each grammar from the right
revision via its `path` subdirectory.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 12:54:15 -07:00

26 lines
990 B
TOML

id = "pico-8"
name = "Pico-8"
version = "0.0.2"
schema_version = 1
authors = ["Kistaro Windrider <kistaro@gmail.com>"]
description = "Pico-8 cartridge (.p8) and Lua dialect support for Zed"
repository = "https://github.com/kistaro/zed-p8"
# Both grammars live in this same repository, in subdirectories under
# `grammars/`. Zed's [grammars.*] block supports a `path` field for
# exactly this layout. During local development, `repository` is a
# `file://` URL pointing at this clone and `rev` is pinned to a
# committed SHA — Zed clones the grammar at that revision rather than
# reading the working tree, so changes only take effect after a commit
# + a `rev` bump in this file.
[grammars.p8_cart]
repository = "file:///Users/norberg/gitea-repos/zed-p8"
rev = "39d77a8cae7a9094f4b324ac88d5d0865235db4a"
path = "grammars/p8-cart"
[grammars.pico8_lua]
repository = "file:///Users/norberg/gitea-repos/zed-p8"
rev = "39d77a8cae7a9094f4b324ac88d5d0865235db4a"
path = "grammars/pico-8-lua"