Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default lazygit config generation in Config.md from JSON schema #3565

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set default value for WindowSize config to pass validation
  • Loading branch information
karimkhaleel authored and stefanhaller committed May 19, 2024
commit 7d787afb2cd8f711b508fb63a7d097bffe9c9cb3
1 change: 1 addition & 0 deletions pkg/config/user_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ func GetDefaultConfig() *UserConfig {
CommandLogSize: 8,
SplitDiff: "auto",
SkipRewordInEditorWarning: false,
WindowSize: "normal",
Border: "rounded",
AnimateExplosion: true,
PortraitMode: "auto",
Expand Down
3 changes: 2 additions & 1 deletion schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@
"half",
"full"
],
"description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'"
"description": "Default size for focused window. Window size can be changed from within Lazygit with '+' and '_' (but this won't change the default).\nOne of: 'normal' (default) | 'half' | 'full'",
"default": "normal"
},
"border": {
"type": "string",
Expand Down