Do not set window's title to unsaved for command view
This commit is contained in:
parent
bd2d8db231
commit
6c84913f6a
|
@ -91,8 +91,11 @@ end
|
|||
|
||||
|
||||
function DocView:get_filename()
|
||||
if self.doc.abs_filename then
|
||||
local post = self.doc:is_dirty() and "*" or ""
|
||||
return (self.doc.abs_filename and self.doc.abs_filename or "unsaved") .. post
|
||||
return self.doc.abs_filename .. post
|
||||
end
|
||||
return self:get_name()
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue