fix(init): improve dirty-buffer warning message

This commit is contained in:
Barrett Ruth 2026-03-06 12:01:11 -05:00
parent edd1750a0e
commit 06a325baa4

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('Unsaved changes — :w first.')
log.warn('Buffer has unsaved changes — write with :w first.')
return false
end
return true