fix: displaying relative paths. (#155)
This commit is contained in:
parent
e057def23e
commit
7f1d7ba3fb
|
@ -11,7 +11,7 @@ local function filename(options)
|
||||||
if not options.full_path then
|
if not options.full_path then
|
||||||
data = vim.fn.expand('%:t')
|
data = vim.fn.expand('%:t')
|
||||||
elseif options.shorten then
|
elseif options.shorten then
|
||||||
data = vim.fn.expand('%')
|
data = vim.fn.expand('%:~:.')
|
||||||
else
|
else
|
||||||
data = vim.fn.expand('%:p')
|
data = vim.fn.expand('%:p')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue