fix(init): tighten dirty-buffer warning message

This commit is contained in:
Barrett Ruth 2026-03-06 12:03:50 -05:00
parent 06a325baa4
commit 628286c471

View file

@ -87,7 +87,7 @@ end
local function require_saved()
local bufnr = buffer.bufnr()
if bufnr and vim.bo[bufnr].modified then
log.warn('Buffer has unsaved changes — write with :w first.')
log.warn('save changes first (:w)')
return false
end
return true