Rebuilt from the exact zed-industries/zed @ 8c74db00c4053d6c0a9037863d7bd048658da4ca tree (previous orphan was based on a stale/wrong fetch). Same 3-file patch: - serial.rs: add SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; add latest_serial_of() - window.rs: activate() uses keyboard-enter serial (Mutter focus gate) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
61 lines
1.8 KiB
TOML
61 lines
1.8 KiB
TOML
[package]
|
|
name = "grammars"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/grammars.rs"
|
|
|
|
[dependencies]
|
|
language_core.workspace = true
|
|
rust-embed.workspace = true
|
|
anyhow.workspace = true
|
|
toml.workspace = true
|
|
util.workspace = true
|
|
|
|
tree-sitter = { workspace = true, optional = true }
|
|
tree-sitter-bash = { workspace = true, optional = true }
|
|
tree-sitter-c = { workspace = true, optional = true }
|
|
tree-sitter-cpp = { workspace = true, optional = true }
|
|
tree-sitter-css = { workspace = true, optional = true }
|
|
tree-sitter-diff = { workspace = true, optional = true }
|
|
tree-sitter-gitcommit = { workspace = true, optional = true }
|
|
tree-sitter-go = { workspace = true, optional = true }
|
|
tree-sitter-go-mod = { workspace = true, optional = true }
|
|
tree-sitter-gowork = { workspace = true, optional = true }
|
|
tree-sitter-jsdoc = { workspace = true, optional = true }
|
|
tree-sitter-json = { workspace = true, optional = true }
|
|
tree-sitter-md = { workspace = true, optional = true }
|
|
tree-sitter-python = { workspace = true, optional = true }
|
|
tree-sitter-regex = { workspace = true, optional = true }
|
|
tree-sitter-rust = { workspace = true, optional = true }
|
|
tree-sitter-typescript = { workspace = true, optional = true }
|
|
tree-sitter-yaml = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
load-grammars = [
|
|
"tree-sitter",
|
|
"tree-sitter-bash",
|
|
"tree-sitter-c",
|
|
"tree-sitter-cpp",
|
|
"tree-sitter-css",
|
|
"tree-sitter-diff",
|
|
"tree-sitter-gitcommit",
|
|
"tree-sitter-go",
|
|
"tree-sitter-go-mod",
|
|
"tree-sitter-gowork",
|
|
"tree-sitter-jsdoc",
|
|
"tree-sitter-json",
|
|
"tree-sitter-md",
|
|
"tree-sitter-python",
|
|
"tree-sitter-regex",
|
|
"tree-sitter-rust",
|
|
"tree-sitter-typescript",
|
|
"tree-sitter-yaml",
|
|
]
|
|
test-support = ["load-grammars"]
|