feat(cli): fill in missing fields to tree-sitter.json when running

`tree-sitter init -u`
This commit is contained in:
WillLillis 2025-12-29 14:12:25 -05:00 committed by Will Lillis
parent f1288ea5c9
commit dd60d5cff0
2 changed files with 22 additions and 6 deletions

View file

@ -123,7 +123,7 @@ const BUILD_ZIG_ZON_TEMPLATE: &str = include_str!("./templates/build.zig.zon");
const ROOT_ZIG_TEMPLATE: &str = include_str!("./templates/root.zig");
const TEST_ZIG_TEMPLATE: &str = include_str!("./templates/test.zig");
const TREE_SITTER_JSON_SCHEMA: &str =
pub const TREE_SITTER_JSON_SCHEMA: &str =
"https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json";
#[derive(Serialize, Deserialize, Clone)]