refactor(forge): rename auto_close to close (#137)
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:
parent
343dbb202b
commit
0d62cd9e40
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue