docs: add flutter schema

This commit is contained in:
Jan De Dobbeleer 2022-06-05 16:32:37 +02:00 committed by Jan De Dobbeleer
parent d1501a6211
commit 7b6f791026

View file

@ -195,6 +195,7 @@
"dart", "dart",
"exit", "exit",
"executiontime", "executiontime",
"flutter",
"fossil", "fossil",
"git", "git",
"go", "go",
@ -566,6 +567,37 @@
} }
} }
}, },
{
"if": {
"properties": {
"type": {
"const": "flutter"
}
}
},
"then": {
"title": "Flutter Segment",
"description": "https://ohmyposh.dev/docs/segments/flutter",
"properties": {
"properties": {
"properties": {
"home_enabled": {
"$ref": "#/definitions/home_enabled"
},
"fetch_version": {
"$ref": "#/definitions/fetch_version"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
},
"missing_command_text": {
"$ref": "#/definitions/missing_command_text"
}
}
}
}
}
},
{ {
"if": { "if": {
"properties": { "properties": {