Centralize notification prefix #38
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!38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/standardize-notify-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
import-cost.nvimalready uses the public package name in notifications, but the prefix is duplicated between normal logs and the migration warning.Solution
Export one
import-cost.util.prefixvalue and use it for bothutil.log()and the GitHub-source migration warning. This keeps the user-facing message unchanged while making the convention explicit.Verification
nix develop .#ci --command just formatnix develop .#ci --command just lint[import-cost.nvim]: Due to GitHub's historic unreliability, development has moved to Forgejo. See :help import-cost.nvim-migration to optionally update your plugin source configuration. This is a one-time warning.