refactor(config): remove legacy gcal top-level config key (#51)

* refactor(config): remove legacy gcal top-level config key

Problem: the gcal migration shim silently accepted vim.g.pending = { gcal
= {...} } and copied it to sync.gcal, adding complexity and a deprecated
API surface.

Solution: remove the migration block in config.get(), drop the cfg.gcal
fallback in gcal_config(), delete the two migration tests, and clean up
the vimdoc references. Callers must now use sync.gcal directly.

* ci: fix

* fix(spec): remove duplicate buffer require in complete_spec
This commit is contained in:
Barrett Ruth 2026-02-26 22:53:51 -05:00 committed by GitHub
parent 3ee26112a6
commit 4612960b9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 49 deletions

View file

@ -3,7 +3,6 @@ require('spec.helpers')
local buffer = require('pending.buffer')
local config = require('pending.config')
local store = require('pending.store')
local buffer = require('pending.buffer')
describe('complete', function()
local tmpdir