fix(init): improve dirty-buffer warning message
This commit is contained in:
parent
edd1750a0e
commit
06a325baa4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue