aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/nvim/lua/init/05-appearance.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/init/05-appearance.lua')
-rw-r--r--.config/nvim/lua/init/05-appearance.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/lua/init/05-appearance.lua b/.config/nvim/lua/init/05-appearance.lua
index 789ceb9..0ced8b9 100644
--- a/.config/nvim/lua/init/05-appearance.lua
+++ b/.config/nvim/lua/init/05-appearance.lua
@@ -114,11 +114,11 @@ function vimrc.statusline.filename(bufnr)
return '*scratch*'
end
- local this_path = F.expand(('#%s:p'):format(bufnr))
+ local this_path = F.expand(('#%d:p'):format(bufnr))
local other_paths = {}
for b = 1, F.bufnr('$') do
if F.bufexists(b) and b ~= bufnr then
- other_paths[#other_paths+1] = F.bufname(b)
+ other_paths[#other_paths+1] = F.expand(('#%d:p'):format(b))
end
end