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:
Barrett Ruth 2026-03-10 23:18:20 -04:00
parent dce409b2cc
commit a668986da0
3 changed files with 6 additions and 6 deletions

View file

@ -40,7 +40,7 @@
---@field shorthand? string
---@class pending.ForgeConfig
---@field auto_close? boolean
---@field close? boolean
---@field warn_missing_cli? boolean
---@field [string] pending.ForgeInstanceConfig
@ -154,7 +154,7 @@ local defaults = {
},
sync = {},
forge = {
auto_close = false,
close = false,
warn_missing_cli = true,
github = {
icon = '',