mirror of
https://github.com/starship/starship.git
synced 2024-11-22 00:04:05 +01:00
feat(jujutsu): update config schema
This commit is contained in:
parent
f338a3f2cf
commit
7226aaedf2
47
.github/config-schema.json
vendored
47
.github/config-schema.json
vendored
@ -905,6 +905,22 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"jujutsu": {
|
||||
"default": {
|
||||
"detect_folders": [
|
||||
".jj"
|
||||
],
|
||||
"disabled": false,
|
||||
"format": "$symbol $commit_info ",
|
||||
"symbol": "jj",
|
||||
"template": "\nseparate(\" \",\n change_id.shortest(6),\n branches.map(|x| if(\n x.name().substr(0, 20).starts_with(x.name()),\n x.name().substr(0, 20),\n x.name().substr(0, 19) ++ \"…\")\n ).join(\" \"),\n if(\n description.first_line().substr(0, 24).starts_with(description.first_line()),\n description.first_line().substr(0, 24),\n description.first_line().substr(0, 23) ++ \"…\"\n ),\n if(conflict, \"conflict\"),\n if(divergent, \"divergent\"),\n if(hidden, \"hidden\"),\n)"
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/JujutsuConfig"
|
||||
}
|
||||
]
|
||||
},
|
||||
"julia": {
|
||||
"default": {
|
||||
"detect_extensions": [
|
||||
@ -4112,6 +4128,37 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JujutsuConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"default": "$symbol $commit_info ",
|
||||
"type": "string"
|
||||
},
|
||||
"symbol": {
|
||||
"default": "jj",
|
||||
"type": "string"
|
||||
},
|
||||
"template": {
|
||||
"default": "\nseparate(\" \",\n change_id.shortest(6),\n branches.map(|x| if(\n x.name().substr(0, 20).starts_with(x.name()),\n x.name().substr(0, 20),\n x.name().substr(0, 19) ++ \"…\")\n ).join(\" \"),\n if(\n description.first_line().substr(0, 24).starts_with(description.first_line()),\n description.first_line().substr(0, 24),\n description.first_line().substr(0, 23) ++ \"…\"\n ),\n if(conflict, \"conflict\"),\n if(divergent, \"divergent\"),\n if(hidden, \"hidden\"),\n)",
|
||||
"type": "string"
|
||||
},
|
||||
"disabled": {
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"detect_folders": {
|
||||
"default": [
|
||||
".jj"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"JuliaConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Loading…
Reference in New Issue
Block a user