♻️ refactor(nvim): added logic of catppuccin to the catppuccin module itself
This commit is contained in:
parent
b2b4006ab6
commit
5433ac6917
3 changed files with 22 additions and 16 deletions
|
@ -1,4 +1,3 @@
|
||||||
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
|
|
||||||
return {
|
return {
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
keys = {
|
keys = {
|
||||||
|
@ -6,15 +5,6 @@ return {
|
||||||
{ "]B", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" },
|
{ "]B", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" },
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
highlights = require("catppuccin.groups.integrations.bufferline").get({
|
|
||||||
styles = { "italic", "bold" },
|
|
||||||
custom = {
|
|
||||||
all = {
|
|
||||||
fill = { bg = macchiato.mantle },
|
|
||||||
background = { bg = macchiato.mantle },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
options = {
|
options = {
|
||||||
buffer_close_icon = "",
|
buffer_close_icon = "",
|
||||||
modified_icon = "",
|
modified_icon = "",
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"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",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
return {
|
|
||||||
"LazyVim/LazyVim",
|
|
||||||
opts = {
|
|
||||||
colorscheme = "catppuccin-macchiato",
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue