|
|
@ -262,10 +262,10 @@ let g:lightline = {'colorscheme': 'catppuccin'}
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
require('lualine').setup {
|
|
|
|
require('lualine').setup {
|
|
|
|
options = {
|
|
|
|
options = {
|
|
|
|
theme = "catppuccin"
|
|
|
|
theme = "catppuccin"
|
|
|
|
-- ... the rest of your lualine config
|
|
|
|
-- ... the rest of your lualine config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
@ -274,22 +274,22 @@ require('lualine').setup {
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
integration = {
|
|
|
|
integration = {
|
|
|
|
nvimtree = {
|
|
|
|
nvimtree = {
|
|
|
|
enabled = true,
|
|
|
|
enabled = true,
|
|
|
|
show_root = true, -- makes the root folder not transparent
|
|
|
|
show_root = true, -- makes the root folder not transparent
|
|
|
|
transparent_panel = false, -- make the panel transparent
|
|
|
|
transparent_panel = false, -- make the panel transparent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- **Neo-tree:** setting `enabled` to `true` enables this integration:
|
|
|
|
- **Neo-tree:** setting `enabled` to `true` enables this integration:
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
integration = {
|
|
|
|
integration = {
|
|
|
|
neotree = {
|
|
|
|
neotree = {
|
|
|
|
enabled = true,
|
|
|
|
enabled = true,
|
|
|
|
show_root = true, -- makes the root folder not transparent
|
|
|
|
show_root = true, -- makes the root folder not transparent
|
|
|
|
transparent_panel = false, -- make the panel transparent
|
|
|
|
transparent_panel = false, -- make the panel transparent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
@ -381,9 +381,9 @@ Colors can be overwritten using `vim.g.catppucin_override_colors`:
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
vim.g.catppuccin_override_colors = {
|
|
|
|
vim.g.catppuccin_override_colors = {
|
|
|
|
base = "#ff0000",
|
|
|
|
base = "#ff0000",
|
|
|
|
mantle = "#242424",
|
|
|
|
mantle = "#242424",
|
|
|
|
crust = "#474747",
|
|
|
|
crust = "#474747",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
@ -412,11 +412,11 @@ Instead of `after_loading` hook, you can use autocmd event like this:
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
pattern = "CatppuccinLoaded",
|
|
|
|
pattern = "CatppuccinLoaded",
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
local colors = require("catppuccin.api.colors").get_colors()
|
|
|
|
local colors = require("catppuccin.api.colors").get_colors()
|
|
|
|
-- do something with colors
|
|
|
|
-- do something with colors
|
|
|
|
end
|
|
|
|
end
|
|
|
|
})
|
|
|
|
})
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|