feat: generate schema in tree-sitter.json
This commit is contained in:
parent
05b2f443ba
commit
78e5144f3f
2 changed files with 7 additions and 0 deletions
|
|
@ -140,6 +140,8 @@ pub struct LanguageConfigurationJSON {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
pub struct TreeSitterJSON {
|
||||
#[serde(rename = "$schema")]
|
||||
pub schema: Option<String>,
|
||||
pub grammars: Vec<Grammar>,
|
||||
pub metadata: Metadata,
|
||||
#[serde(default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue