mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Allow turning off nerd fonts without restarting
Not a terribly important feature for users, probably, but it is useful for developers when testing a new feature with or without nerd fonts; and it does go against or policy of all configs being hot-reloadable. Note that switching from nerd fonts version 2 to 3 is *not* supported without restarting, but I find this less important.
This commit is contained in:
parent
eb351dcdeb
commit
47db2c24cf
|
|
@ -489,6 +489,8 @@ func (gui *Gui) onUserConfigLoaded() error {
|
|||
icons.SetNerdFontsVersion(userConfig.Gui.NerdFontsVersion)
|
||||
} else if userConfig.Gui.ShowIcons {
|
||||
icons.SetNerdFontsVersion("2")
|
||||
} else {
|
||||
icons.SetNerdFontsVersion("")
|
||||
}
|
||||
|
||||
if len(userConfig.Gui.BranchColorPatterns) > 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue