refactor: split config validation coverage out of runtime_spec #145
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
barrettruth/diffs.nvim#145
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracked By
Context
This is pre-v0.4.0 cleanup that should land on
mainbefore the hard-removal branch is merged. It must preserve current v0.3.x deprecation behavior.Problem
spec/runtime_spec.luamixes two separate concerns:config.new(), supported config shapes, deprecation/removal migration behavior,compute_filetypes(), and hunk priority config handlingThat makes future config/vimdoc cleanup harder to review because config expectations are buried inside runtime behavior tests.
Scope
Add
spec/config_spec.luafor pure config coverage and leavespec/runtime_spec.luafocused on runtime attach/cache/window behavior.Acceptance Criteria
spec/runtime_spec.luano longer requiresdiffs.configspec/config_spec.luaspec/config_spec.luacompute_filetypes()coverage lives inspec/config_spec.luaSuggested Verification
Implemented by #345 and merged into the v0.4.0 draft branch.
Correction: #345 was mistakenly merged into the blocked v0.4.0 hard-removal draft branch, then removed from that draft branch. This issue is still open for the pre-v0.4.0 cleanup stack and should be implemented against fresh .
Correction: #345 was mistakenly merged into the blocked v0.4.0 hard-removal draft branch, then removed from that draft branch. This issue is still open for the pre-v0.4.0 cleanup stack and should be implemented against fresh origin/main.