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

Background changes when more than a couple files are opened #35

Closed
nobleach opened this issue May 26, 2021 · 2 comments
Closed

Background changes when more than a couple files are opened #35

nobleach opened this issue May 26, 2021 · 2 comments

Comments

@nobleach
Copy link

nobleach commented May 26, 2021

I am using the oceanic variant. When I open my file explorer (nvim-tree.lua), the backgrounds are different (which is great!):
image

If I open a few file in other tabs, all of a sudden the background of those buffers matches the file explorer's background:
image

The best I can tell, it's when I open a file from another folder. Yet, any other file I open afterward has this background.

Also, after pasting this screenshot, I just noticed the line numbers have disappeared as well.

@marko-cerovac
Copy link
Owner

marko-cerovac commented May 27, 2021

That's really weird. I've tried to replicate the issue and I have succeeded. I'm pretty sure that this is an issue with the latest version of nvim-tree since it doesn't happen with the with the older one. Also, I've noticed that one of the latest commits to nvim-tree.lua modified tabing in some way. I think the reason that there are no numbers is that the new buffer that you open inherits the layout of nvim-tree, instead of the normal layout that it should. I'll work on this in the next few days, and see if I can find a workaround, but I think it's up to the maintainers of nvim-tree.lua

Edit: There is an issue on nvim-tree.lua that mentions this here

@nobleach
Copy link
Author

Yeah, the more I thought about it, the number thing seemed to point toward nvim-trea.lua causing the buffer type to be something else. Thanks for taking a look. We can close this as I doubt there's anything that needs can be done here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants