-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
I don't think the nvim-tree integration is working? #7
Comments
I was having this issue too. However, the integration does works. What happens is that if, in order of execution, NvimTree is loaded after Catppuccino then it'll override the highlights. But if you do it the other way around Catppuccino will override them. As you see here in my config, Catppuccino is loaded after nvim tree loads, this is because of what I explained above. I think I'm gonna add this as a FAQ. This isn't a very obvious thing so it'll be good to leave a note there for people using this integration too :) |
I am loading it after nvim-tree though 🤔 I load themes as the very end of my |
oh I see you have it actually configured in packer to load the plugin in a certain order. got it. |
that's still not working for me. |
May I see your packer init? Edit: I found your dots. In my case all plugins are lazy loaded/load in a specific order. I'm not sure how packer works in the backend, but I don't think putting them in that order without any loading flags/settings would make them load in that given order. Could you try the |
Yeah, I tried updating it to |
I don't think the lualine theme is loading properly either. |
No wait my bad. I didn't explain how I was lazy loading stuff. Actually, Catppuccino should be loaded before nvim tree. Please lazy load nvim tree like this. Oh and btw, why aren't you lazy loading all your plugins? It takes no time and nvim will open in less than a few milliseconds. You can checkout my dots for inspiration :) |
Once again, it's about the order of execution. I'd suggest you load it like how I'm loading Galaxyline. |
yeah I tried that. still not working. |
Did you push to your dots? |
@pocco81 just pushed them now if you want to take a look |
Ok I'm looking at them now and it seems like you didn't lazy load anything? Please consider lazy loading nvim tree. Also, I told you to load Catppuccino before Nvim tree, which you didn't do (or maybe you did but didn't push that?) |
Also Catppuccino should be loaded before Lualine or else it won't recognize it. Perhaps I'm not being clear about what the loading order should be? |
Use: use({ 'kyazdani42/nvim-tree.lua', cmd = 'NvimTreeToggle' })
use {
"Pocco81/Catppuccino.nvim",
config = function()
-- configure Catppuccino here
- End,
}
use {
"hoob3rt/lualine.nvim",
after = "Catppuccino.nvim",
config = function()
-- setup lualine with Catppuccino
end,
} |
@pocco81 I've updated to lazy load some stuff. and loaded in the correct order, I think. still not working. Lualine is now not loading at all. |
Ah, finally got it working! The way I was handling theme selection was messing things up. |
hey guys, a bit late to a party :)
and nvim-tree bg is black ( as above ) :( tried to do all sort of things above and did not work, tried to call cc @pocco81 |
I personally have Nvim Tree setup this way: use({
"kyazdani42/nvim-tree.lua",
cmd = "NvimTreeToggle",
config = function()
-- your config here
end,
}) And Catppuccin is simply loaded at startup. |
How do I get sidebars such as nvim-tree to have the darker color like your screenshot? I'd also like to apply this darker color to terminal buffers and Telescope if possible.
The text was updated successfully, but these errors were encountered: