fix(init): tighten dirty-buffer warning message
This commit is contained in:
parent
06a325baa4
commit
628286c471
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('Buffer has unsaved changes — write with :w first.')
|
||||
log.warn('save changes first (:w)')
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue