From 8ca6a8005d7515ebc54622f4594bb6073e33c285 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 5 Jul 2025 15:46:19 +0900 Subject: nvim: fix uniquify --- .config/nvim/lua/init/05-appearance.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/nvim/lua/init') 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 -- cgit v1.2.3-70-g09d2