1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-06-20 01:19:23 +02:00

Update docs and schema for release

This commit is contained in:
Stefan Haller
2026-04-06 19:33:14 +02:00
parent 26faf9d20f
commit ffe645c503
12 changed files with 207 additions and 94 deletions
+40
View File
@@ -235,6 +235,13 @@
"examples": [
"{{ .branch | green }}"
]
},
"condition": {
"type": "string",
"description": "A Go template expression evaluated against the current form state. If it resolves to empty string or 'false', the prompt is skipped.",
"examples": [
"{{ eq .Form.Choice \"yes\" }}"
]
}
},
"additionalProperties": false,
@@ -632,6 +639,21 @@
"description": "If true, add a \"/\" root item in the file tree representing the root of the repository. It is only added when necessary, i.e. when there is more than one item at top level.",
"default": true
},
"fileTreeSortOrder": {
"type": "string",
"enum": [
"mixed",
"filesFirst",
"foldersFirst"
],
"description": "How to sort files and directories in the file tree.\nOne of: 'mixed' (default) | 'filesFirst' | 'foldersFirst'",
"default": "mixed"
},
"fileTreeSortCaseSensitive": {
"type": "boolean",
"description": "If true (default), sort the file tree case-sensitively.",
"default": true
},
"showNumstatInFilesView": {
"type": "boolean",
"description": "If true, show the number of lines changed per file in the Files view",
@@ -754,6 +776,16 @@
"description": "Whether to stack UI components on top of each other.\nOne of 'auto' (default) | 'always' | 'never'",
"default": "auto"
},
"portraitModeAutoMaxWidth": {
"type": "integer",
"description": "In 'auto' mode, portrait mode will be used if the window width is less than or equal to portraitModeAutoMaxWidth and the window height is greater than or equal to portraitModeAutoMinHeight. Unused when portraitMode is not 'auto'.",
"default": 84
},
"portraitModeAutoMinHeight": {
"type": "integer",
"description": "In 'auto' mode, portrait mode will be used if the window width is less than or equal to portraitModeAutoMaxWidth and the window height is greater than or equal to portraitModeAutoMinHeight. Unused when portraitMode is not 'auto'.",
"default": 46
},
"filterMode": {
"type": "string",
"enum": [
@@ -836,6 +868,10 @@
"type": "string",
"default": "O"
},
"openPullRequestInBrowser": {
"type": "string",
"default": "G"
},
"copyPullRequestURL": {
"type": "string",
"default": "\u003cc-y\u003e"
@@ -1018,6 +1054,10 @@
"type": "string",
"default": "o"
},
"openPullRequestInBrowser": {
"type": "string",
"default": "G"
},
"viewBisectOptions": {
"type": "string",
"default": "b"