1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Move IgnoreWhitespaceInDiffView to AppState, and persist it when it changes

This commit is contained in:
Stefan Haller
2023-07-26 11:29:43 +02:00
parent 045bce5dfc
commit be667682f0
12 changed files with 17 additions and 26 deletions

View File

@ -318,8 +318,9 @@ type AppState struct {
StartupPopupVersion int
// these are for custom commands typed in directly, not for custom commands in the lazygit config
CustomCommandsHistory []string
HideCommandLog bool
CustomCommandsHistory []string
HideCommandLog bool
IgnoreWhitespaceInDiffView bool
}
func getDefaultAppState() *AppState {