♻️ refactor(nvim): added logic of catppuccin to the catppuccin module itself

This commit is contained in:
Sergio Laín 2023-11-16 02:18:40 +01:00
parent b2b4006ab6
commit 5433ac6917
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 22 additions and 16 deletions

View file

@ -1,4 +1,3 @@
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
return {
"akinsho/bufferline.nvim",
keys = {
@ -6,15 +5,6 @@ return {
{ "]B", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" },
},
opts = {
highlights = require("catppuccin.groups.integrations.bufferline").get({
styles = { "italic", "bold" },
custom = {
all = {
fill = { bg = macchiato.mantle },
background = { bg = macchiato.mantle },
},
},
}),
options = {
buffer_close_icon = "",
modified_icon = "",

View file

@ -1,3 +1,5 @@
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
return {
{
"catppuccin/nvim",
@ -68,4 +70,24 @@ return {
},
},
},
{
"akinsho/bufferline.nvim",
opts = {
highlights = require("catppuccin.groups.integrations.bufferline").get({
styles = { "italic", "bold" },
custom = {
all = {
fill = { bg = macchiato.mantle },
background = { bg = macchiato.mantle },
},
},
}),
},
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin-macchiato",
},
},
}

View file

@ -1,6 +0,0 @@
return {
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin-macchiato",
},
}