Keep notification prefix private #40
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/import-cost.nvim!40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/private-notification-prefix"
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?
Problem
The notification-prefix cleanup centralized the prefix by exposing
M.prefixfromimport-cost.util. That makes an internal formatting detail look like public module surface.Solution
Keep the prefix as a private local in
util.luaand route the GitHub-source migration warning throughutil.log(...).Verification
nix develop .#ci --command stylua --check lua/import-cost/util.lua lua/import-cost/migration.luanix develop .#ci --command selene --display-style quiet lua/import-cost/util.lua lua/import-cost/migration.luanix develop .#ci --command just lintgit diff --check