refactor: keep gitsigns popup integration out of highlight internals #149
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#149
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. Currentmainstill keeps fixed highlight priorities in normalized config while user-provided priority values are deprecated.Problem
lua/diffs/gitsigns.luaboth adapts popup text into hunks and writes extra prefix extmarks afterhighlight_hunk(), including direct access toopts.highlights.priorities.syntax.That exposes a renderer detail to the gitsigns integration.
Scope
Keep
gitsigns.luaas a thin popup adapter. Move prefix-extmark rendering behind a highlight/runtime helper, or otherwise route it through a shared hunk option/rendering helper so gitsigns does not reach into priority fields directly.Acceptance Criteria
lua/diffs/gitsigns.luahas no directopts.highlights.prioritiesaccessSuggested Verification