mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
Support suggestions generated from command in custom commands
This changes the interface a bit but it was only added earlier today so I doubt anybody is dependent on it yet. I'm also updating the docs.
This commit is contained in:
@@ -34,7 +34,12 @@ func (self *Resolver) resolvePrompt(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
result.SuggestionsPreset, err = resolveTemplate(prompt.SuggestionsPreset)
|
||||
result.Suggestions.Preset, err = resolveTemplate(prompt.Suggestions.Preset)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
result.Suggestions.Command, err = resolveTemplate(prompt.Suggestions.Command)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user