refactor(core): replace remaining internal service-locator calls #522
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#522
Loading…
Add table
Add a link
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?
After the recent state extraction series, the remaining internal
require('forge')usage is mostly non-state coupling.Current hotspots include:
lua/forge/context.lualua/forge/routes.lualua/forge/ops.lualua/forge/review.lualua/forge/ci_history.lualua/forge/log.lualua/forge/pr_checks.lualua/forge/term.lualua/forge/picker/fzf.luaThe common pattern is internal code reaching through the top-level facade
for
config(),current_scope(),remote_web_url(),file_loc(), andsimilar helpers.
This issue is for moving those callers onto direct module dependencies so
the top-level
forgemodule keeps shrinking toward a real facade.Merged via #534 and now on
main.