refactor: standardize log prefixes to [diffs.nvim]:
Problem: `lib.lua` used `[diffs]` and `debug.lua`/`init.lua` used `[diffs.nvim]` (no colon) while the rest of the codebase used `[diffs.nvim]:`. Solution: Normalize all `vim.notify` prefixes to `[diffs.nvim]:` for consistency with `log.lua` and the other modules.
This commit is contained in:
parent
c7cd8fc24c
commit
2528886802
3 changed files with 5 additions and 5 deletions
|
|
@ -621,7 +621,7 @@ local function migrate_integrations(opts)
|
|||
local old = 'vim.g.diffs.{' .. table.concat(stale, ', ') .. '}'
|
||||
local new = 'vim.g.diffs.integrations.{' .. table.concat(stale, ', ') .. '}'
|
||||
vim.notify(
|
||||
'[diffs.nvim] ignoring ' .. old .. '; move to ' .. new .. ' or remove',
|
||||
'[diffs.nvim]: ignoring ' .. old .. '; move to ' .. new .. ' or remove',
|
||||
vim.log.levels.WARN
|
||||
)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue