1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

Add UserConfig jsonschema generation script

This commit is contained in:
Karim Khaleel
2023-09-30 02:47:06 +03:00
committed by Stefan Haller
parent df5b3693d6
commit 1a035db4c8
5 changed files with 1681 additions and 48 deletions

View File

@ -53,7 +53,7 @@ func (self *ConfigCommands) GetPager(width int) string {
"columnWidth": strconv.Itoa(width/2 - 6),
}
pagerTemplate := self.UserConfig.Git.Paging.Pager
pagerTemplate := string(self.UserConfig.Git.Paging.Pager)
return utils.ResolvePlaceholderString(pagerTemplate, templateValues)
}