refactor: standardize log prefixes to [diffs.nvim]: (#183)

This commit is contained in:
Barrett Ruth 2026-03-10 11:12:42 -04:00 committed by GitHub
parent e4b648341a
commit 600d3757f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -189,7 +189,7 @@ function M.ensure(callback)
)
local dest = lib_path()
vim.notify('[diffs] downloading libvscode_diff...', vim.log.levels.INFO)
vim.notify('[diffs.nvim]: downloading libvscode_diff...', vim.log.levels.INFO)
local cmd = { 'curl', '-fSL', '-o', dest, url }
@ -198,7 +198,7 @@ function M.ensure(callback)
vim.schedule(function()
local handle = nil
if result.code ~= 0 then
vim.notify('[diffs] failed to download libvscode_diff', vim.log.levels.WARN)
vim.notify('[diffs.nvim]: failed to download libvscode_diff', vim.log.levels.WARN)
dbg('curl failed: %s', result.stderr or '')
else
local f = io.open(version_path(), 'w')
@ -206,7 +206,7 @@ function M.ensure(callback)
f:write(EXPECTED_VERSION)
f:close()
end
vim.notify('[diffs] libvscode_diff downloaded', vim.log.levels.INFO)
vim.notify('[diffs.nvim]: libvscode_diff downloaded', vim.log.levels.INFO)
handle = M.load()
end