feat: encode home in statusview file path (#1224)

This commit is contained in:
sammy 2022-12-06 06:19:52 -04:00 committed by GitHub
parent f7ad8753eb
commit dfa2f93d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ function StatusView:register_docview_items()
return {
dv.doc:is_dirty() and style.accent or style.text, style.icon_font, "f",
style.dim, style.font, self.separator2, style.text,
dv.doc.filename and style.text or style.dim, dv.doc:get_name()
dv.doc.filename and style.text or style.dim, common.home_encode(dv.doc:get_name())
}
end
})