added catppuccin theme

This commit is contained in:
Sven Vogel 2024-08-16 19:24:09 +02:00
parent 4a079b4160
commit af6ffea285
6 changed files with 71 additions and 13 deletions

View File

@ -47,7 +47,7 @@ return {
laststatus = 3, -- global statusline laststatus = 3, -- global statusline
}, },
ui = { ui = {
theme = "vscode", theme = "catppuccin",
border = "rounded", border = "rounded",
popup = { popup = {
width = 0.6, width = 0.6,

View File

@ -43,3 +43,4 @@ return {
end, end,
}, },
} }

View File

@ -0,0 +1,25 @@
return {
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
opts = {
flavour = "macchiato",
no_underline = true,
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
treesitter = true,
notify = true,
barbar = true,
dropbar = {
enabled = false,
color_mode = false, -- enable color for kind's texts, not just kind's icons
},
mason = true,
}
}
}
}

View File

@ -5,7 +5,7 @@ return {
local options = require("options") local options = require("options")
return { return {
options = { options = {
theme = "auto", theme = options.ui.theme,
component_separators = { left = "", right = "" }, component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" }, section_separators = { left = "", right = "" },
globalstatus = true, globalstatus = true,
@ -79,16 +79,6 @@ return {
} }
}, },
lualine_c = { lualine_c = {
{
"filename",
path = 4,
symbols = {
modified = "", -- Text to show when the file is modified.
readonly = "", -- Text to show when the file is non-modifiable or readonly.
unnamed = "", -- Text to show for unnamed buffers.
newfile = "[New]", -- Text to show for newly created file before first write
},
},
{ {
"branch", "branch",
icon = "󰊤", icon = "󰊤",
@ -128,7 +118,18 @@ return {
vim.cmd("TroubleToggle") vim.cmd("TroubleToggle")
end, 100) end, 100)
end, end,
} },
'%=',
{
"filename",
path = 4,
symbols = {
modified = "", -- Text to show when the file is modified.
readonly = "", -- Text to show when the file is non-modifiable or readonly.
unnamed = "", -- Text to show for unnamed buffers.
newfile = "[New]", -- Text to show for newly created file before first write
},
},
}, },
lualine_x = { lualine_x = {
{ {

20
lua/plugins/onedark.lua Normal file
View File

@ -0,0 +1,20 @@
return {
{
'olimorris/onedarkpro.nvim',
lazy = false,
priority = 1000,
opts = {
plugins = {
treesitter = true,
nvim_lsp = true,
nvim_tree = true,
barbar = true,
trouble = true,
diffview = true,
},
options = {
cursorline = true
}
}
}
}

11
lua/plugins/winsep.lua Normal file
View File

@ -0,0 +1,11 @@
return {
{
"nvim-zh/colorful-winsep.nvim",
config = true,
event = { "WinLeave" },
opts = {
smooth = true,
exponential_smoothing = false
}
}
}