diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-05 15:46:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-05 18:27:06 +0900 |
| commit | 8ca6a8005d7515ebc54622f4594bb6073e33c285 (patch) | |
| tree | a115a6c2f04a04aa6589712ca010db2558b90126 /.config/nvim/lua/init | |
| parent | 5ef9ab4ac146adcdf0b94d819ac535107c386409 (diff) | |
| download | dotfiles-8ca6a8005d7515ebc54622f4594bb6073e33c285.tar.gz dotfiles-8ca6a8005d7515ebc54622f4594bb6073e33c285.tar.zst dotfiles-8ca6a8005d7515ebc54622f4594bb6073e33c285.zip | |
nvim: fix uniquify
Diffstat (limited to '.config/nvim/lua/init')
| -rw-r--r-- | .config/nvim/lua/init/05-appearance.lua | 4 |
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 |
