1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

facilitate toggling whitespace in the diff view with a hotkey (c-w by default)

This commit is contained in:
Davyd McColl
2021-05-28 12:02:19 +02:00
committed by Jesse Duffield
parent 83834a2c2e
commit a9f04d3925
9 changed files with 32 additions and 9 deletions

View File

@ -339,6 +339,9 @@ type guiState struct {
// do this whenever we switch back and forth between repos to get the views
// back in sync with the repo state
ViewsSetup bool
// flag as to whether or not the diff view should ignore whitespace
IgnoreWhitespaceInDiffView bool
}
// reuseState determines if we pull the repo state from our repo state map or