Comments (21)
Ah, finally got it working! The way I was handling theme selection was messing things up.
from nvim.
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 :)
from nvim.
I am loading it after nvim-tree though 🤔
I load themes as the very end of my init.lua
from nvim.
oh I see you have it actually configured in packer to load the plugin in a certain order. got it.
from nvim.
that's still not working for me.
from nvim.
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 after
setting on Catppuccino?
from nvim.
Yeah, I tried updating it to use({ 'Pocco81/Catppuccino.nvim', after = 'nvim-tree.lua' })
but it still doesn't fix it for me
from nvim.
I don't think the lualine theme is loading properly either.
from nvim.
from nvim.
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 :)
from nvim.
I don't think the lualine theme is loading properly either.
Once again, it's about the order of execution. I'd suggest you load it like how I'm loading Galaxyline.
from nvim.
yeah I tried that. still not working.
from nvim.
Did you push to your dots?
from nvim.
@pocco81 just pushed them now if you want to take a look
from nvim.
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?)
from nvim.
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?
from nvim.
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,
}
from nvim.
@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.
from nvim.
hey guys, a bit late to a party :)
here is mine:
{
-- file tree
'kyazdani42/nvim-tree.lua',
requires = {'kyazdani42/nvim-web-devicons'},
config = require('plugins.nvim-tree'),
cmd = 'NvimTreeToggle'
}
....
{
'catppuccin/nvim',
as = 'catppuccin',
config = require('plugins.catppuccin')
},
and nvim-tree bg is black ( as above ) :(
tried to do all sort of things above and did not work, tried to call setup
manually after vim started and applied colorscheme again, did not work :(
cc @pocco81
from nvim.
Yeah something is off for me too, I use nvim-tree
and feline
and I loose feline and nvim_tree doesn't look right when I toggle it on. Not sure what to do, tried the suggestions in this case:
from nvim.
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.
from nvim.
Related Issues (20)
- NeoTree background does not blend with the WinSeparator as shown in README screenshots. HOT 5
- React (JSX) code does not show different colors for variables. HOT 3
- Additional dim_inactive option for transparent setups
- Comments and Virtual Text same color HOT 3
- Semantic Highlighting - basedpyright HOT 6
- background variable not detected correctly on boot HOT 7
- Treesitter context highlighting when transparent_background=true HOT 3
- (option to) Disable all integrations by default HOT 1
- Incorrect typing for `illuminate` integration
- add tabby.nvim integration (colors) HOT 1
- Incorrect Typescript keyword color with TreeSitter enabled HOT 2
- Bufferline background breaks when Catppuccin is set to transparent background and bufferline style is styled as non-default HOT 4
- nvim-navbuddy integration
- Publish plugin on luarocks
- Lualine highlight color is not uniform
- lazy.nvim: module 'catppuccin.groups.integrations.colorful_winsep' HOT 5
- Add support for `mini.statusline` HOT 1
- mini.nvim integration seems broken HOT 1
- Tranceparency not working property with telescope dropdown HOT 3
- CmpBorder doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim.