Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs showing absolute path instead of file name #633

Open
mota494 opened this issue Dec 2, 2024 · 6 comments
Open

Tabs showing absolute path instead of file name #633

mota494 opened this issue Dec 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@mota494
Copy link

mota494 commented Dec 2, 2024

System: Nvim 0.9.5 @ Ubuntu 22.04.4

The plugin was working fine until i tried to add a vim plugin called font-manager, since then i stopped using that plugin but the paths are still showing
image

@Iron-E Iron-E added the bug Something isn't working label Dec 11, 2024
@va9iff
Copy link

va9iff commented Dec 18, 2024

yet they show their gifs and stuff with just the file names. I wonder how they decided to write a WHOLE PATH to a place which its maximum_length is set to 30 by default. probably something is broke in the name deciding system and path is like the fallback for that mechanism, which kicks in now.

@Iron-E
Copy link
Collaborator

Iron-E commented Dec 18, 2024

Probably related to #611 (comment)

@romgrk
Copy link
Owner

romgrk commented Jan 15, 2025

Is this still happening?

What does this print?

:=require('barbar.fs').basename(vim.api.nvim_buf_get_name(0))

@a-curious-coder
Copy link

This occurs for me too - I thought I was going insane with configuration. The command you provided @romgrk yields the file name for me. However the buffer/pane/window/tab (idk what it's called, sorry) shows: / for every file I have open.

@Iron-E
Copy link
Collaborator

Iron-E commented Jan 31, 2025

I'll try to get a minimal repro up this weekend, or even just a setup to allow others to add on to to get this showing.

In the meantime, it is probably best to pin the version of this plugin to a previous release if the behavior is troublesome 🙏

@romgrk
Copy link
Owner

romgrk commented Jan 31, 2025

@a-curious-coder It would help to know what you system & config are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants