refactor(forge): rename auto_close to close

Problem: `auto_close` is verbose given it's already namespaced under
`forge.` in the config table.

Solution: Rename to `close` in config defaults, class annotation,
`refresh()` usage, and vimdoc.
This commit is contained in:
Barrett Ruth 2026-03-10 23:16:37 -04:00
parent 6e385db3c7
commit 3d50c423ed
3 changed files with 6 additions and 6 deletions

View file

@ -310,7 +310,7 @@ function M.refresh(s)
any_fetched = true
local forge_cfg = config.get().forge or {}
if
forge_cfg.auto_close
forge_cfg.close
and (cache.state == 'closed' or cache.state == 'merged')
and (task.status == 'pending' or task.status == 'wip' or task.status == 'blocked')
then