diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 620701235..37cda5358 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -24,6 +24,7 @@ type UserConfig struct { // If true, don't display introductory popups upon opening Lazygit. DisableStartupPopups bool `yaml:"disableStartupPopups"` // User-configured commands that can be invoked from within Lazygit + // See https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Command_Keybindings.md CustomCommands []CustomCommand `yaml:"customCommands" jsonschema:"uniqueItems=true"` // See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#custom-pull-request-urls Services map[string]string `yaml:"services"` @@ -252,7 +253,7 @@ type GitConfig struct { // Command used to display git log of all branches in the main window. // Deprecated: Use `allBranchesLogCmds` instead. AllBranchesLogCmd string `yaml:"allBranchesLogCmd"` - // Commands used to display git log of all branches in the main window, they will be cycled in order of appearance + // Commands used to display git log of all branches in the main window, they will be cycled in order of appearance (array of strings) AllBranchesLogCmds []string `yaml:"allBranchesLogCmds"` // If true, do not spawn a separate process when using GPG OverrideGpg bool `yaml:"overrideGpg"` diff --git a/schema/config.json b/schema/config.json index 4fad20efd..475447357 100644 --- a/schema/config.json +++ b/schema/config.json @@ -329,7 +329,7 @@ "type": "string" }, "type": "array", - "description": "Commands used to display git log of all branches in the main window, they will be cycled in order of appearance" + "description": "Commands used to display git log of all branches in the main window, they will be cycled in order of appearance (array of strings)" }, "overrideGpg": { "type": "boolean", @@ -1838,7 +1838,7 @@ }, "type": "array", "uniqueItems": true, - "description": "User-configured commands that can be invoked from within Lazygit" + "description": "User-configured commands that can be invoked from within Lazygit\nSee https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Command_Keybindings.md" }, "services": { "additionalProperties": {