neogit icon indicating copy to clipboard operation
neogit copied to clipboard

add an option for persistent recent commits section

Open laughingman-hass opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. Currently the recent section does not display once there are unmerged commits. This behavior is replicated from Magit, however the recent commit section still offers some value even when there are unmerged commits.

Ideally it would be great to have a config that allows from a persistent section. This can be disabled by default, so it doesn't change the default behavior.

Describe the solution you'd like Add the option always = <boolean?> to the config.sections.recent table.

  • If this option is not set or set to false the recent section should only show when there is no unmerged commits (current behavior)
  • if this option is set to true the recent sections is always shown

I have a work branch of this change, PR incoming shortly.

Describe alternatives you've considered N/A

Additional context This options was briefly discussed in #1378

laughingman-hass avatar Mar 15 '25 14:03 laughingman-hass