fix: displaying relative paths. (#155)

This commit is contained in:
Jaekyeom Kim 2021-03-31 23:47:38 +09:00 committed by GitHub
parent e057def23e
commit 7f1d7ba3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ local function filename(options)
if not options.full_path then
data = vim.fn.expand('%:t')
elseif options.shorten then
data = vim.fn.expand('%')
data = vim.fn.expand('%:~:.')
else
data = vim.fn.expand('%:p')
end