Minimal extension? #21166
-
Hello. What does a minimal working extension look like? I would like to add tree-sitter queries for more flexible highlighting of my theme. I'm not going to write anything in rust, but it looks like src/lib.rs is required. p.s: I'd like to add tree-sitter queries to my theme and publish it as a theme, not extension. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think it's totally doable without any Rust code at all, consider https://github.com/JosephTLyons/zed-brainfuck/tree/8e82d496608588f0470283ca938c87d65e48d459 as an example: it seem to contain what you want exactly, tree-sitter and extension metadata. |
Beta Was this translation helpful? Give feedback.
I think it's totally doable without any Rust code at all, consider https://github.com/JosephTLyons/zed-brainfuck/tree/8e82d496608588f0470283ca938c87d65e48d459 as an example: it seem to contain what you want exactly, tree-sitter and extension metadata.